variables and match()
Hi, We're using syslog-ng daemon although and we think we've noticed a feature that appears to be missing. When you do a pattern match using match(), we require the value of the pattern match to be available as a variable, say $1, $2 etc etc. Our aim is to be able to farm different syslog entries off to different files based on the matched text from the reg. expression. Is this possible. Thanks and kind regards Paul Miles All Secure Networks Visit www.allsecuredomain.com for low cost web hosting and domain registration
On Mon, Nov 19, 2001 at 10:48:09PM -0000, Paul Miles wrote:
We're using syslog-ng daemon although and we think we've noticed a feature that appears to be missing.
When you do a pattern match using match(), we require the value of the pattern match to be available as a variable, say $1, $2 etc etc.
Our aim is to be able to farm different syslog entries off to different files based on the matched text from the reg. expression. Is this possible.
it's not currently possible. although it could be implemented. -- Bazsi PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1
participants (2)
-
Balazs Scheidler
-
Paul Miles