laincloud / rebellion

LAIN's component for collecting logs of LAIN and its applications
MIT License
3 stars 4 forks source link

建议保留 container_id #18

Open rmrf opened 7 years ago

rmrf commented 7 years ago

libbeat/processors/actions/tag_lain_fields.go line: 75

    event.Delete("container_id")

container id 在很多场景下都十分有用,尤其是在对比日志文件的过程中。

wchaoyi commented 6 years ago

@ericpai

ericpai commented 6 years ago

@wchaoyi 这行代码去掉就可以 https://github.com/laincloud/beats/blob/feature_lain/libbeat/processors/actions/tag_lain_fields.go#L75