Hello list,
I'm trying to send my IPOCop Firewall logs to my rsyslog server like this:

# Firewall logs #
$template DynFwall,"/var/log/server-logs/firewall/%HOSTNAME%.log"
*.* :fromhost-ip, isequal, "192.168.1.1" -?DynFwall

But I just getting this error in /var/log/syslog:

Jan 17 16:49:47 log rsyslogd: [origin software="rsyslogd" 
swVersion="4.4.2" x-pid="12540" x-info="http://www.rsyslog.com";] (re)start
Jan 17 16:49:47 log rsyslogd: the last error occured in 
/etc/rsyslog.d/remote-logs.conf, line 10
Jan 17 16:49:47 log rsyslogd: warning: selector line without actions 
will be discarded
Jan 17 16:49:47 log rsyslogd: the last error occured in 
/etc/rsyslog.conf, line 48
Jan 17 16:49:47 log rsyslogd-2124: CONFIG ERROR: could not interpret 
master config file '/etc/rsyslog.conf'. [try http://www.rsyslog.com/e/2124 ]

I'm trying to log all logs from my IPCop host to 
"/var/log/server-logs/firewall/%HOSTNAME%.log" .

Can someone help me out with this?

Thanks,
Ralph

-- 
Reminds me of my expedition into the wilds of Afghanistan. We lost our 
corkscrew and were compelled to live on food and water for several days. - 
WC Fields

_______________________________________________
rsyslog mailing list
http://lists.adiscon.net/mailman/listinfo/rsyslog
http://www.rsyslog.com

Reply via email to