[syslog-ng]variables and match()
Balazs Scheidler
bazsi@balabit.hu
Fri, 23 Nov 2001 17:15:43 +0100
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