filebeat7.10 收集docker容器时
如何排除一些docker容器日志,大部分收集,只有个别不收集?
inputs配置如下:
filebeat.inputs:
- type: docker
combine_partial: true
multiline.type: pattern
multiline.pattern: '^\d{2}'
multiline.negate: true
multiline.match: after
containers:
path: "/var/lib/docker/containers"
ids:
- "*"
如何排除一些docker容器日志,大部分收集,只有个别不收集?
inputs配置如下:
filebeat.inputs:
- type: docker
combine_partial: true
multiline.type: pattern
multiline.pattern: '^\d{2}'
multiline.negate: true
multiline.match: after
containers:
path: "/var/lib/docker/containers"
ids:
- "*"
1 个回复
struy - 95后IT男
赞同来自: