Json Parser - Parsing multiple values into Nested JSON #11062
-
I'm trying to parse Envoy logs from a Docker container, however, after parsing the fields that start with the same name, I do not get nested JSON as I'd expect. vector.yaml
console output
I was expecting this output:
Any suggestions on how I'd go about nesting those fields? Many thanks! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 3 replies
-
Hi @JoeAshworth ! The |
Beta Was this translation helpful? Give feedback.
Hi @JoeAshworth !
The
json_parser
transform will just parse JSON as it is. It seems like your input events have keys with.
s in them. We are working on some changes to VRL that should permit this sort of transformation, but currently I think the only way you could do this is with custom Lua code via thelua
transform.