KB Article #176278

How to configure the Appliance to redirect the syslog to another monitoring server?

Question

How to configure the Appliance to redirect the syslog to another monitoring server?


Answer

To redirect the syslog to another monitoring server follow the steps below:


1. Add the following lines to the /etc/syslog-ng/syslog-ng.conf file, substituting "remotehost.com" with the FQDN of the syslog server or it's IP address:


destination d_udp { udp("remotehost.com" port(514)); };
log { source(src); filter(f_mailinfo); destination(d_udp); };


2. Restart the syslog for the changes to take effect:


# service syslog restart