Currently there is the ability to expose env and labels log-opt values for the journald log driver, to add selected environment variables and labels attached to a container to each log event.
It would be nice to have the Docker image name and revision also, either by default or as a log-opt.
I suspect this will relate to gelf/fluentd similarly as per #16961
This would give the journald log driver (when combined with journalbeat) feature parity to using docker-logstash-forwarder
Currently there is the ability to expose
envandlabelslog-opt values for the journald log driver, to add selected environment variables and labels attached to a container to each log event.It would be nice to have the Docker image name and revision also, either by default or as a log-opt.
I suspect this will relate to gelf/fluentd similarly as per #16961
This would give the journald log driver (when combined with journalbeat) feature parity to using docker-logstash-forwarder