How to setup rsyslogd to receive log messages form router
Posted on 2014-12-22
I just want to log messages from my router to my Ubuntu 14.04 (server). I am a little stuck however. Here is what I have done:
I have uncommented the lines in /ect/rsyslog.conf to allow listening on UDP 514. My router only supports UDP remote syslogging.
I have set my router up to log to my server, 192.168.0.142 with the facility local4.
I have added th line:
I have done sudo service rsyslog restart
And verified with sudo netstat -nulp |grep 514
udp 0 0 0.0.0.0:514 0.0.0.0:* 5226/rsyslogd
udp6 0 0 :::514 :::* 5226/rsyslogd
But rsyslog does not even create the log file.
I have tried cd /var && sudo chown syslog:syslog log