Rsyslog: remote logging
- April 16th, 2009
- Posted in Documentation
- Write comment
On the client you want to log from:
vi /etc/rsyslog.conf
…
*.* @RemoteSyslogIPAddress:Port
…
Example:
*.* @172.18.1.50:514
On the remote logging server:
vi /etc/rsyslog.conf
…
# Begin – Allow remote logging
$ModLoad imudp.so
$UDPServerRun 514
# End – Allow remote logging
…
Need to send a HUP to the rsyslogd process or
service rsyslog reload
Hey Jim,
Just stumbled across this in a Google search.. I’ve attempted your solution to no avail. Can you please post up any server config you’d recommend?
Hey Jim,
I was looking to do it with mysql logging…. turns out i didn’t have the package installed.
Thanks,
Jacob.