I have configured filebeat.autodiscover for docker container log analysis, I have 8 docker containers and I want to add few containers in filebeat, below code is working fine for one image ,
- type: docker
- type: log
multiline.pattern: '^[[:space:]]+|]$' multiline.match: after
I have tried below few conditions but it's not working, so can you please suggest correct systex :-
- as mentioned in "Multiple conditions with autodiscover & docker containers"
- contains.docker.container.name: "apache"
- contains.docker.container.name: "nginx"
please suggest correct code to monitor multiple container