Information
NOTE: Update SYSLOG_SERVER with the appropriate value for the local environment.
Solution
Edit the /etc/rsyslog.conf file and add the following line (where logfile.example.com is the
name of your central log host).
*.* @@loghost.example.com
# Execute the following command to restart rsyslogd
# pkill -HUP rsyslogdNote- The double 'at' sign (@@) directs rsyslog to use TCP to send log messages to the
server, which is a more reliable transport mechanism than the default UDP protocol.