[syslog-ng] Special characters in syslogng filters

Jay difficult_id at yahoo.com
Thu Oct 13 22:43:23 CEST 2011


Hello
 
If the filter specified in syslog-ng.conf contains the ( character or ) character, then is it correct to prefix them with \\.
 
For example, if I need to filter a syslog containing the string (abcd)
 
then in syslog-ng.conf, I would need to specify the filter as \\(abcd\\)
 
Could someone confirm, if this is the correct way of specifying the filter, please ?
 
If not, please let me know the correct way of specifying the filter.
 
Thanks in advance for your help.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.balabit.hu/pipermail/syslog-ng/attachments/20111013/83afbf78/attachment.htm 


More information about the syslog-ng mailing list