Created
November 19, 2012 04:38
-
-
Save int128/4109007 to your computer and use it in GitHub Desktop.
syslog reception config for rsyslog
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
#rsyslog v3 config file | |
# Provides UDP syslog reception | |
$ModLoad imudp.so | |
$UDPServerRun 514 | |
$AllowedSender UDP, 127.0.0.1, 192.168.0.0/24 | |
# Provides TCP syslog reception | |
#$ModLoad imtcp.so | |
#$InputTCPServerRun 514 | |
#### RULES #### | |
:fromhost-ip, startswith, "192.168.0." /var/log/remote.log | |
& ~ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment