[syslog-ng] Parsing multifield lines

Giovanni Mancuso giovanni.mancuso at par-tec.it
Mon Oct 19 19:07:36 CEST 2015


Hi,
i'm writing a parser for lines having a repeated field on the same line
eg(Recipient is repeated 3 times):

ID: 123AABB456 Sender: user1 at example.com Recipient: user2 at example.com
Recipient: user3 at example.com Recipient: user3 at example.com Status: Sent

I would like to have a CUSTOM MACRO with all recipients.

Is there a way to do this?

Thanks

-- 

-------------- next part --------------
A non-text attachment was scrubbed...
Name: giovanni_mancuso.vcf
Type: text/x-vcard
Size: 319 bytes
Desc: not available
Url : http://lists.balabit.hu/pipermail/syslog-ng/attachments/20151019/f3b810fc/attachment.vcf 


More information about the syslog-ng mailing list