Configuring rsyslog

In /etc/rsyslog.conf, uncomment the UDP and TCP module lines. This configured rsyslogd to listen for remote syslog messages.


# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514

 

# Provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514