[syslog-ng] How to use @EMAIL@ parser in patterndb

C. L. Martinez carlopmart at gmail.com
Thu Mar 19 20:21:12 CET 2015


Hi all,

 I have a situation like described in syslog-ng's docs
(http://www.balabit.com/sites/default/files/documents/syslog-ng-ose-3.7-guides/en/syslog-ng-ose-guide-admin/html/reference-patterndb-parsers.html)
about email addresses.

 I have tried to use "@EMAIL:email:"[<]>@ " in my patterndb to catch
all possible email address combinations like <user at example.com>,
[user at example.com], "user at example.com", as described in docs, but
without luck. Every time that I check some log with pdbtool returns me
errors about " [<]>" characters.

 I have tried to subsitute <> with &lt; and &gt;, for example, but nothing ....

 Any sample about how to use @EMAIL@ parser inside patterndb?

 I am using syslog-ng 3.5.x.

 Thanks.


More information about the syslog-ng mailing list