UDP
Edit /etc/rsyslog.conf and enable module imudp.
$ vi /etc/rsyslog.conf
...
# Provides UDP syslog reception
$ModLoad imudp
$UDPServerRun 514
...
Restart rsyslog to let changes take effects.
$ service rsyslog restart
TCP
Edit /etc/rsyslog.conf and enable module imtcp.
$ vi /etc/rsyslog.conf
...
# Provides TCP syslog reception
$ModLoad imtcp
$InputTCPServerRun 514
...
Restart rsyslog to let changes take effects.
$ service rsyslog restart
No comments:
Post a Comment