Created
May 15, 2013 21:10
-
-
Save tadasv/5587409 to your computer and use it in GitHub Desktop.
rsyslog 4.x config for monitoring file contents and pushing them to loggly/papertrail
This file contains hidden or 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
$InputFileName file.log | |
$InputFileTag file_tag: | |
$InputFileStateFile /var/spool/rsyslog/file.log_spool | |
$InputFileFacility local7 | |
$InputFileMaxLinesAtOnce 100000 | |
$InputRunFileMonitor | |
# | |
# Include all config files in /etc/rsyslog.d/ | |
# | |
$IncludeConfig /etc/rsyslog.d/*.conf | |
*.* @logs.papertrailapp.com:xxxx | |
*.* @@logs.loggly.com:xxxx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment