[syslog-ng] [Bug 90] csv-parser's flags(drop-invalid) doesn' t work with escape-{backslash, double-char}

bugzilla at bugzilla.balabit.com bugzilla at bugzilla.balabit.com
Tue Jun 29 17:27:49 CEST 2010


https://bugzilla.balabit.com/show_bug.cgi?id=90


Balazs Scheidler <bazsi at balabit.hu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




--- Comment #1 from Balazs Scheidler <bazsi at balabit.hu>  2010-06-29 17:27:49 ---
why do you think it is handled differently? as I see there's only one branch based on LOG_CSV_PARSER_DROP_INVALID and it is taken, if there are still
unprocessed columns.

the definition of the "drop-invalid" flag from the documentation:

"When the drop-invalid option is set, the parser does not process messages that have less columns than defined in the parser. Using this option practically
turns the parser into a special filter, that matches messages that have the predifined number of columns (using the specified delimiters)."

This means that if there are less columns in the input, parsing will fail, but otherwise it'll be successful.

Can you please show a concrete example on what input you give to the parser and what you'd expect it to do?
Thanks.


-- 
Configure bugmail: https://bugzilla.balabit.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.


More information about the syslog-ng mailing list