RSyslog - nicolas-tullio/Tech-Journal GitHub Wiki
log01-nicolas
Firewall
> sudo firewall-cmd --add-port=514/udp --permamemt
> sudo firewall-cmd --add-port=514/tcp --permamemt
> sudo firewall-cmd --reload
> sudo firewall-cmd --list-all
/etc/rsyslog.conf
Uncomment the following lines and restart the rsyslog service
web01-nicolas
/etc/rsyslog.d/sec350.conf
user.notice @172.16.50.5
Test syslog
On log01
tail -f the /var/log/messages
On web01
logger -t test TESTFROMWEB01TOLOG01