How to configure under Centos:
Check if Rsyslo is installed
Grpm-qa Rsyslog
Yum Install Rsyslog
2. Modify the Rsyslog configuration file and add the following line at the end of the file (Rsyslog server-side IP is provided by the future TV)
Vi/etc/rsyslog.conf
* * @172.16.254.22:514
3. Restart the Rsyslog service, you need to shut down the system's own syslog
Service Syslog Stop
Chkconfig syslog off
Service Rsyslog Restart
Chkconfig Rsyslog on
4. After booting, check to see if the tailf/var/log/messages has an exception.
If the following warning appears (CENTOS5. X series will appear)
650) this.width=650; "src=" Http://s3.51cto.com/wyfs02/M01/5A/D4/wKioL1T-SYfQMhljAAFS0HPEGIs181.jpg "title=" Image2015-3-9 14_55_19.png "alt=" Wkiol1t-syfqmhljaafs0hpegis181.jpg "/>
Please modify the/etc/sysconfig/rsyslog file
Vi/etc/sysconfig/rsyslog
#SYSLOGD_OPTIONS = "-M 0"
Syslogd_options= "-C 3"
This article is from the "Intelligent Future _XFICC" blog, please be sure to keep this source http://xficc.blog.51cto.com/1189288/1618871
Rsyslog Client Send log configuration