I'm trying to use SEC now, instead of SWATCH. Any progress on getting things up on your website?
If I manually run against a log file, it works great, but I'm trying to integrate it into syslog-ng.
I saw a post where you showed the following:
#######################################
destination d_sec {
program("/usr/local/sbin/sec.pl -input=\"-\" -conf=/usr/local/etc/sec.conf >/var/log/sec.err 2>&1");
};
# send all logs to sec
log {
source(src);
filter(f_not_brightmail);
destination(d_sec);
};
#######################################
I made up my own filter to include all facilities so as to watch for everything. But I'm not getting it to work, it never reports back. If I do a "ps -ef", I can see that syslog-ng did start up the SEC process… but no luck.
Any help would be appreciated.
Thanks,
Chris