Created
June 15, 2015 13:56
-
-
Save jdotpz/b6b87de5468488fc6e3c to your computer and use it in GitHub Desktop.
rsyslog remote shipping
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
#not set by default, needed to spool queues to disk | |
$WorkDirectory /tmp | |
$RepeatedMsgReduction off | |
# put forward action on dedicated queue so it doesn't block writing logs | |
# locally to disk if the server can't be contacted | |
$ActionQueueType LinkedList | |
$ActionQueueFileName rsyslog-forward-local.q | |
$ActionQueueTimeoutEnqueue 10 #ms | |
$ActionQueueSize 10000 | |
$ActionResumeRetryCount -1 | |
$ActionQueueSaveOnShutdown on | |
# This is only for shipping using tcp | |
# *.* @@remotelogserver:syslogport | |
# This is only for shipping using udp (recommended) | |
# *.* @remotelogserver:syslogport | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment