I have several java applications that are running as different services in a docker swarm cluster. I would like filebeat to be able to read the logs of the containers and I can see that it has a docker input but it also require a container id which in a swarm environment it is completely dynamic. Any way to configure filebeat for this environment?
I can see that it has a docker input but it also require a container id which in a swarm environment it is completely dynamic
Autodiscover is specifically designed for this, you can use a condition based on the docker image name used to create the container This blog (option C) may also be a great resource
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.