Created
December 9, 2013 10:16
-
-
Save Zordrak/7870084 to your computer and use it in GitHub Desktop.
Lumberjack config file
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
{ | |
"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