[syslog-ng]syslog-ng's matching vs a perl-regex match

Balazs Scheidler bazsi@balabit.hu
Tue, 9 Oct 2001 11:32:47 +0200


On Thu, Oct 04, 2001 at 08:30:44PM -0400, Seth Vidal wrote:
> Hi all,
>  I am using syslog-ng version 1.4.12 on red hat linux 7.1. I have been 
> doing some matches to get certain events out of my logs and have certain 
> programs react to them.
>  I was wondering if it would be faster to pipe ALL output to a perl script 
> and have it do its own regex matching.
> 
> I'm not sure how fast syslog-ng's matching is and if I take a performance 
> hit by using it.

syslog-ng is using a the regexp lib in libc.

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1