Skip to content

Instantly share code, notes, and snippets.

@Zordrak
Created December 9, 2013 10:16
Show Gist options
  • Save Zordrak/7870084 to your computer and use it in GitHub Desktop.
Save Zordrak/7870084 to your computer and use it in GitHub Desktop.
Lumberjack config file
{
"network": {
"servers": ["<logstash indexer ip>:6782"],
"ssl certificate": "/etc/pki/tls/certs/lumberjack.crt",
"ssl ca": "/etc/pki/tls/certs/lumberjack.crt",
"ssl key": "/etc/pki/tls/private/lumberjack.key",
"timeout": 15
},
"files": [
{
"paths": [
"/var/log/httpd/*access_log_json",
"/var/log/httpd/*error_log"
],
"fields": { "type": "httpd", "shipper": "lumberjack" }
}, {
"paths": [
"/var/log/tomcat6/catalina",
"/var/log/tomcat6/localhost"
],
"fields": { "type": "tomcat", "shipper": "lumberjack" }
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment