vectordotdev / vrl

Vector Remap Language
Mozilla Public License 2.0
134 stars 66 forks source link

[grok] support `csv` filter #108

Open vladimir-dd opened 3 years ago

vladimir-dd commented 3 years ago

csv(headers[, separator[, quotingcharacter]])

https://docs.datadoghq.com/logs/processing/parsing/?tab=filters

jszwedko commented 3 years ago

Just to make sure I understand these correctly, we call these parsers, right? We actually have a parse_csv function in VRL already, but it lacks support for setting the headers.

vladimir-dd commented 3 years ago

yes, I actually wanted to update our parse_csv VRL function and then just re-use it for my grok filter

jszwedko commented 3 years ago

Ah, gotcha, these are integrated into the grok patterns. 👍