fluent / fluent-bit

Fast and Lightweight Logs and Metrics processor for Linux, BSD, OSX and Windows
https://fluentbit.io
Apache License 2.0
5.81k stars 1.58k forks source link

Help! Need regex to parse CSV #459

Open apmcodes opened 6 years ago

apmcodes commented 6 years ago

Can someone provide a sample regex to parse CSV, to be added in parser.conf Need to capture the CSV data into record fields

e.g. csv data type,timeLogged,timeQueued,timeImprinted,orig

edsiper commented 6 years ago

@apmcodes there is no CSV parsing support at the moment.

maarten-postmastery commented 6 years ago

Is CSV parsing somewhere on the roadmap? It would be useful for event logs from commercial MTA's.

kishaningithub commented 3 years ago

It would be useful if the port has the same configs as the fluent d version

https://docs.fluentd.org/parser/csv

PandyTheBroh commented 2 years ago

Hello. I have found this recent merge: https://github.com/fluent/fluent-bit/pull/5269

Looks like @tarruda is preparing the path to support the csv files. But I suppose that the development isn't complete yet. But this feature has activity, so I have hope yet :)

q2dg commented 1 year ago

Well, it's merged but it isn't documented anywhere. I liked very much this proposal... https://github.com/fluent/fluent-bit/pull/5040