[syslog-ng] CSV parser and empty fields

Matthew Hall mhall at mhcomputing.net
Sat Nov 6 00:40:04 CET 2010


I'm surprised it doesn't handle doubled delimiters right.

However I am likewise stumped. I can't find any explanation anywhere in 
the Balabit docs which explain what escape-* options do specifically.

I guess reading the code is the only option for now. :/

On Fri, Nov 05, 2010 at 05:26:38PM -0600, Bill Anderson wrote:
> Thanks for your reply, Mathew. Perhaps I wasn't clear enough. The 
> syslog-ng produced logfile that logs $MSG is *just fine*. The tabs are 
> there, and anything that parses it and expects the fields gets them 
> just fine. The problem arises when the template only needs to log 
> fields from the csv parser and a preceding field is empty. If there 
> are any flags on that page that affect how the csv-parser handles 
> empty fields, I'd appreciate them being pointed out, as I didn't see 
> any.
> 
> Cheers,
> Bill


More information about the syslog-ng mailing list