preproccessing log files
Francis J. Lacoste
flacoste at logreport.org
Fri Feb 7 21:35:05 CET 2003
On ven, 2003-02-07 at 15:25, Michael Grau wrote:
> How can one define $filter in the scripts
> that are run by cron so that it gets evaluated
> like so:
>
> gzip -dc <$log | grep id-firewall
>
> or, how can I setup multiple filters?
>
Filter can be almost any shell fragment. So you can use
gzip -dc | grep id-firewall
as your filter value and it should just works. (The log is always fed
using STDIN).
Thanks for your interest in LogReport, kind regards,
Francis J. Lacoste
--
Francis J. Lacoste . . http://www.logreport.org
/^LogReport$/ . . flacoste at logreport.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.logreport.org/pipermail/questions/attachments/20030207/2d108522/attachment.bin
More information about the Questions
mailing list