Merge pull request #19 from TouchInstinct/feature/filebeat.tags
filebeat: add docker tag
This commit is contained in:
commit
6108aaf21a
|
|
@ -3,7 +3,7 @@ output.file.enabled: false
|
|||
|
||||
filebeat.inputs:
|
||||
- type: container
|
||||
paths:
|
||||
paths:
|
||||
- "/var/lib/docker/containers/*/*.log"
|
||||
processors:
|
||||
- add_docker_metadata:
|
||||
|
|
@ -18,6 +18,8 @@ filebeat.inputs:
|
|||
not:
|
||||
equals:
|
||||
container.labels.log_consumed-by: "filebeat"
|
||||
- add_tags:
|
||||
tags: ["docker"]
|
||||
|
||||
output.logstash:
|
||||
hosts: {{ filebeat.logstash.hosts | to_json }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue