Posted on 2005-08-09 06:26:44-07 by rudolph
supported syslog formats
What syslog formats is POE::Filter::Syslog meant to support?
t/01-filter.t has:
... my $ts = strftime("%b %d %H:%M:%S", localtime($now)); my $complex = "<1>$ts /USR/SBIN/CRON[16273]: (root) CMD (test -x /usr/lib/syssta t/sa1 && /usr/lib/sysstat/sa1)"; my $simple = "<1>$ts sungo: pie"; my $nodate = '<78>CROND[19679]: (root) CMD (/usr/bin/mrtg /etc/mrtg/mrtg.cfg)'; ...
which isn't a syslog format familiar to me.
Any information about this would be appreciated.
Thanks
Direct Responses: 954 | Write a response
Posted on 2005-09-01 20:19:34-07 by rudolph in response to 860
Re: supported syslog formats
The format is, of course, one of the remote logging formats generate by syslog. I'd been blinded by wanting to parse local logfiles and hadn't considered remote logging at all.
Direct Responses: Write a response
Perl Weekly newsletter
A free weekly newsletter for people who are busy to read all the blogs. click here to check it out.