[syslog-ng]Regex on destination/template
Gehring, Andrew x66132
syslog-ng@lists.balabit.hu
Thu, 20 May 2004 09:23:22 -0400
This is a multi-part message in MIME format.
------_=_NextPart_000_01C43E6D.9FFF42C0
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
charset="Windows-1252"
Hello,
I've been looking around, and can't seem to find anything related to =
this...
Is it possible to do a regex on a template within a destination?
For example:
My $MSG =3D "this is foo bar yadda yadda"
All I want passed to the destination is the foo and anything beyond it =
(foo
bar yadda yadda).
If not in the template, with another filter? Anywhere?
Thanks,
Andrew
_
This message and any attachments are intended only for the use of the =
addressee and
may contain information that is privileged and confidential. If the =
reader of the=20
message is not the intended recipient or an authorized representative of =
the
intended recipient, you are hereby notified that any dissemination of =
this
communication is strictly prohibited. If you have received this =
communication in
error, please notify us immediately by e-mail and delete the message and =
any
attachments from your system.
------_=_NextPart_000_01C43E6D.9FFF42C0
Content-Type: application/ms-tnef
Content-Transfer-Encoding: base64
eJ8+IgwNAQaQCAAEAAAAAAABAAEAAQeQBgAIAAAA5AQAAAAAAADoAAEIgAcAGAAAAElQTS5NaWNy
b3NvZnQgTWFpbC5Ob3RlADEIAQWAAwAOAAAA1AcFABQACQAXABYABAAuAQEggAMADgAAANQHBQAU
AAkAFAALAAQAIAEBCYABACEAAABCNDA1MEQwQUUyRjA5MDQ4ODVEQzJDOTc5MDRCM0VGQQA5BwEE
gAEAHgAAAFJlZ2V4IG9uIGRlc3RpbmF0aW9uL3RlbXBsYXRlAEULAQ2ABAACAAAAAgACAAEDkAYA
FAcAADAAAAADAAlZAQAAAAsAT4AIIAYAAAAAAMAAAAAAAABGAAAAAIKFAAAAAAAAAwAAgAggBgAA
AAAAwAAAAAAAAEYAAAAAUoUAAOOQAQAeAAGACCAGAAAAAADAAAAAAAAARgAAAABUhQAAAQAAAAUA
AAAxMC4wAAAAAAsAD4AIIAYAAAAAAMAAAAAAAABGAAAAAAaFAAAAAAAAAwACgAggBgAAAAAAwAAA
AAAAAEYAAAA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