Hi,
I've tried the autodiscover feature to get the logs of selenium grid nodes wrapped in docker containers (that are supposed to be scaled dynamically) and it does not seems to find it, the test i ran was with one container.
Here's my config :
filebeat.autodiscover:
providers:
- type: docker
templates:
- condition:
contains:
docker.container.image: node-chrome
config:
- type: docker
containers.ids:
- "${data.docker.container.id}"
exclude_lines: ["^\\s+[\\-`('.|_]"]
output.logstash:
hosts: ["elk:5044"]
- The name of the image of the chrome node is selenium/node-chrome:3.12.0-cobalt.
- The filebeats is itself wrapped in a docker container and have the docker.sock shared by volume.
- The filebeats docker container and the chrome node are on the same network
Thanks in advance