Skip to content

parsing csv data and mapping values -> how ? #14138

Answered by StefanSa
StefanSa asked this question in Q&A
Discussion options

You must be logged in to vote

@JeanMertz
Hi Jean,
first of all thank you for your quick reply. I know that this (maybe) works with vrl.
Here there is also the function parse_csv, but as far as i understand it it doesn't provide a function to map the values, so my question about it.
There is an example with lua https://vector.dev/guides/advanced/parsing-csv-logs-with-lua/, but wanted to solve this with vrl.

So again, specifically the question.
How do i do the mapping with data previously extracted with the function parse_csv.
Or is that not possible with vrl ?

Thanks for your help and time and of course for vector.dev

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
4 replies
@jszwedko
Comment options

@StefanSa
Comment options

@jszwedko
Comment options

@StefanSa
Comment options

Answer selected by jszwedko
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants