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

Evan Rempel erempel at uvic.ca
Thu Mar 19 20:37:38 CET 2015


@EMAIL:email:"[]<>@

it is basically just an XML document for escaping such things.



On 03/19/2015 12:21 PM, C. L. Martinez wrote:
> 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.
> ______________________________________________________________________________
> Member info: https://lists.balabit.hu/mailman/listinfo/syslog-ng
> Documentation: http://www.balabit.com/support/documentation/?product=syslog-ng
> FAQ: http://www.balabit.com/wiki/syslog-ng-faq
>


-- 
Evan Rempel                                      erempel at uvic.ca
Senior Systems Administrator                        250.721.7691
Data Centre Services, University Systems, University of Victoria



More information about the syslog-ng mailing list