sendgridlabs / loggly-docker

Docker container for loggly (via syslog)
MIT License
44 stars 39 forks source link

Add Docker host name to log #18

Open ghost opened 9 years ago

ghost commented 9 years ago

Is there a way we can add docker hostname with the container hostname when pushing to loggly?

jonathan-short commented 8 years ago

@ezjacob-maheim sorry for the delayed response. I haven't tested this, but I think you can use the --hostname option to docker run to format however you like.

codezninja commented 8 years ago

yeah that I know but the hostname for the container isn't added to the logs thats send to loggly. I was wondering if there was a way to do that