Skip to content

Add docker image name:revision attribute to journald logging driver events #21497

@CpuID

Description

@CpuID

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/loggingkind/enhancementEnhancements are not bugs or new features but can improve usability or performance.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions