Last active
August 29, 2015 14:15
-
-
Save jchauncey/a45c2037fed09745fed3 to your computer and use it in GitHub Desktop.
application logs to splunk with docker!
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Getting application logs from a container to splunk | |
Application running in the container writes their logs to /var/log/service (placing any number of directories or files in this parent directory). This is conatiner is started with /var/log/service mounted to /var/log on the host system. We then have another container running splunk-forwarder which mounts /var/log into the container. Splunk forwarder is configured to send /var/log (recursing) to the splunk indexer in the correct data center (using consul). | |
More to come! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment