SYSLOG-NG - Having trouble with a destination
Posted
by Samuurai
on Server Fault
See other posts from Server Fault
or by Samuurai
Published on 2009-11-18T18:57:05Z
Indexed on
2010/04/25
2:34 UTC
Read the original article
Hit count: 396
Hi,
I'm trying to set up a seperate log file for all windows messages. I've set up a match for MSWinEventLog, but it's completely ignoring my configuration
Here's my config, which is straight after the src object
filter f_windows { match("MSWinEventLog"); };
destination winFIFO { file("/var/log/splunk/syslog-ng/winFIFO"); };
log { source(src); filter(f_windows); destination(winFIFO); flags(final); };
It all ends up in this one instead:
filter f_messages { not facility(news, mail) and not filter(f_iptables); };
destination messages { file("/var/log/messages"); };
log { source(src); filter(f_messages); destination(messages); };
Can anyone see what i'm doing wrong?
© Server Fault or respective owner