logspout icon indicating copy to clipboard operation
logspout copied to clipboard

Question about SYSLOG_HOSTNAME

Open blaines opened this issue 7 years ago • 0 comments

Is there a way to include the Docker daemon host name along with the container ID/hostname?

SYSLOG_HOSTNAME = {{.System.Hostname}}-{{.Container.Config.Hostname}}) Does something like this make sense? Are there any other ways to get similar functionality? Ultimately I want to be able to know which real host and docker container is generating the message.

blaines avatar Jan 25 '18 02:01 blaines