Page 1 of 1

CSF to Syslog

Posted: 10 Mar 2010, 20:55
by Electrone
Dear
i have Centos 5.4 installed as DNS server and i installed and configure csf and enable the SYSLOG = "1"
but it didnot get any logs to my syslog ( splunk server )
port 514 udp out is open
syslog.conf is set to
*.alert @x.x.x.x
*.emerg @x.x.x.x
ldf.* @x.x.x.x
*.ldf @x.x.x.x
*.auth @x.x.x.x

may be the problem is in the syslog.conf ( i have to add somthing for ldf i dont know about ) , may be it is something related to Perl module Sys::Syslog , i don't know how to install this using yum .

what about rsyslog it is enhanced syslog so it is will solve the problem . Thanks

Posted: 11 Mar 2010, 13:31
by Electrone
No Help?!:(

Posted: 15 Mar 2010, 09:50
by chirpy
If you don't have Sys::Syslog installed then logging to syslog won't work. You need to install that perl module either from your OS vendor distribution or from source from cpan.org

Re: CSF to Syslog

Posted: 08 Feb 2013, 01:26
by webbhotell
cpan -i Sys::Syslog

or

yum install perl-Sys-Syslog