-
Notifications
You must be signed in to change notification settings - Fork 680
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
server hostname on which container is running in logs #450
Comments
OK. I'm able to have hostname on which the containter is running using environment variable for example:
|
You can also mount the host
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
How we can grab the hostname of the server on which the container is runnig and send this hostname to the logs agregator: syslog-ng, logstash etc.?
Something we got when we use:
docker service logs SERVICE|TASK
And the output is:
The text was updated successfully, but these errors were encountered: