Open borisboetzel opened 1 year ago
any help from the community? Nobody with filebeat autodiscover with podman-containers?
Hi! We just realized that we haven't looked into this issue in a while. We're sorry!
We're labeling this issue as Stale
to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1
.
Thank you for your contribution!
I would like to reach logs inside an autodiscovered podman container. Filebeat autodiscover offer several variables to configure the template. I am missing the layer-id to reach the right path to the logs.
https://www.elastic.co/guide/en/beats/filebeat/7.17/configuration-autodiscover.html#_docker_2
extract of filebeat.yml
extract of /var/lib/docker/containers/containers.json
extract of filebeat log
wrong path with
${data.docker.container.id}
path should be. Variable
${data.docker.container.layer}
missing