Is there any way to attach Docker information from hosts like container images, ids, etc. with filebeat? If not, is there any other way to get this metadata from hosts into Logstash?
It looks like the Fluentd client does something like this but I haven't been able to get fluent talking to Logstash reliably.
If you are reading JSON logs from /var/lib/docker/containers/ you could parse the container ID from the source field using Ingest Node or Logstash.
If you happen to also be running Metricbeat with the Docker module enabled you could correlate the ID from the logs with other info about the container like name, image, and runtime metrics.
We are going to be working on improving the whole container experience for 6.0. And adding metadata to the logs is one of things that should get easier.
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.