[syslog-ng]Help for Filter(Match) statement

Amodiovalerio Verde syslog-ng@lists.balabit.hu
Fri, 13 Jun 2003 21:51:28 +0200


Just escape the "" with \

filter test {match("access-group \"101\"");};


Amodiovalerio Verde
amodiovalerio.verde@ags-it.com


----- Original Message ----- 
From: "Naman Latif" <naman.latif@inamed.com>
To: <syslog-ng@lists.balabit.hu>
Sent: Friday, June 13, 2003 9:27 PM
Subject: [syslog-ng]Help for Filter(Match) statement


Hi,
I am trying to match the whole expression    access-group "101"
How can define it in the match() statement ? As the presence of " is
giving me problems and syslog-ng comes up with the parse error. I was
trying

Match("(access-group "101")")

Regards \\ Naman
_______________________________________________
syslog-ng maillist  -  syslog-ng@lists.balabit.hu
https://lists.balabit.hu/mailman/listinfo/syslog-ng
Frequently asked questions at http://www.campin.net/syslog-ng/faq.html