[syslog-ng] patterndb parsers - name selection request.

Balint Kovacs balint.kovacs at balabit.com
Sun Oct 14 13:52:46 CEST 2012


Hi Evan,

On 10/13/2012 06:48 PM, Evan Rempel wrote:
> EMAIL
>
> email addresses are difficult to parse because they have an @ symbol in them.
> This parser would accept a list of characters that would be dropped beginning and end of the match.
> such as "erempel at uvic.ca" or <erempel at uvic.ca> and return just the e-mail address erempel at uvic.ca
> in the specified tag name.
I had the attached patch lying around in one of my git stashes, I still 
wanted to do some work on it, before sending it in (like full RFC 
compliancy check), but you might be able use that as a starting point 
for your own implementation.

Balint
-------------- next part --------------
A non-text attachment was scrubbed...
Name: syslog-ng-ose-emailparser.patch
Type: text/x-patch
Size: 3545 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20121014/96833d08/attachment.bin 


More information about the syslog-ng mailing list