Created
October 27, 2010 02:56
-
-
Save lox/648340 to your computer and use it in GitHub Desktop.
syslog-ng configuration for loggly
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
# loggly | |
source s_all { | |
file ("/proc/kmsg" log_prefix("kernel: ")); | |
unix-stream ("/dev/log"); | |
internal(); | |
file("/mnt/log/apache2/error.log" follow_freq(1) flags(no-parse)); | |
}; | |
destination d_loggly { | |
tcp("logs.loggly.com" port(14791)); | |
}; | |
filter f_loggly { | |
facility(authpriv); | |
}; | |
log { | |
source(s_all); filter(f_loggly); destination(d_loggly); | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment