rsyslog / liblognorm

a fast samples-based log normalization library
http://www.liblognorm.com
GNU Lesser General Public License v2.1
99 stars 64 forks source link

New command line option for lognormalizer. Resolves #336 #337

Open rjcortese opened 4 years ago

rjcortese commented 4 years ago

With this option set, output csv fields will not be surrounded by quotes unless the field contains a comma.

davidelang commented 4 years ago

you also need to quote it if it contains a quote

David Lang

On Sun, 29 Mar 2020, R James Cortese wrote:

Date: Sun, 29 Mar 2020 12:23:16 -0700 From: R James Cortese notifications@github.com Reply-To: rsyslog/liblognorm reply@reply.github.com To: rsyslog/liblognorm liblognorm@noreply.github.com Cc: Subscribed subscribed@noreply.github.com Subject: [rsyslog/liblognorm] New command line option for lognormalizer. Resolves #336 (#337)

With this option set, output csv fields will not be surrounded by quotes unless the field contains a comma. You can view, comment on, or merge this pull request online at:

https://github.com/rsyslog/liblognorm/pull/337

-- Commit Summary --

  • new command line option for lognormalizer to output csv fields without quotes (unless the field contains a comma)

-- File Changes --

M src/enc_csv.c (153) M src/lognormalizer.c (4)

-- Patch Links --

https://github.com/rsyslog/liblognorm/pull/337.patch https://github.com/rsyslog/liblognorm/pull/337.diff

rgerhards commented 4 years ago

Top go forward, the CI failures must be fixed.

rjcortese commented 4 years ago

Hopefully I will find time to address these issues soon! Thanks