Difference between revisions of "Rsyslog Server"
From The Linux Source
m |
|||
(5 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | + | PARENT PAGE LINK: [[Syslog]] | |
− | + | ||
− | + | ||
− | 2. Update /etc/rsyslog.conf | + | |
− | + | 1. See generic [[Rsyslog]] page for other config options | |
− | + | ||
− | + | 2. Update /etc/rsyslog.conf, add the following line to end of ModLoad/MODULES section to enable the desired server mode | |
− | + | ||
UDP: | UDP: | ||
# UDP server module | # UDP server module | ||
Line 18: | Line 15: | ||
# enable TCP server and port | # enable TCP server and port | ||
$InputTCPServerRun 514 | $InputTCPServerRun 514 | ||
− | |||
− | |||
− | |||
3. Restart rsyslog service | 3. Restart rsyslog service | ||
ENT 7 | ENT 7 | ||
− | # systemctl | + | # systemctl restart rsyslog |
BEFORE Ent 7 | BEFORE Ent 7 | ||
# service rsyslog restart | # service rsyslog restart |
Latest revision as of 12:20, 12 June 2017
PARENT PAGE LINK: Syslog
1. See generic Rsyslog page for other config options
2. Update /etc/rsyslog.conf, add the following line to end of ModLoad/MODULES section to enable the desired server mode
UDP: # UDP server module $ModLoad imudp # enable UDP server and port $UDPServerRun 514 OR TCP: # TCP server module $ModLoad imtcp # enable TCP server and port $InputTCPServerRun 514
3. Restart rsyslog service
ENT 7 # systemctl restart rsyslog BEFORE Ent 7 # service rsyslog restart