Extraction specific JSON keys in vector #9023
-
Can we extract specific fields of a JSON inside the "transform" block of vector ? Also we need to combine that fields in to yet another JSON. |
Beta Was this translation helpful? Give feedback.
Answered by
spencergilbert
Sep 3, 2021
Replies: 1 comment
-
Hi, assuming all of these JSON objects are in the same event you can use a remap transform and VRL to change the event's contents as needed. There's support for parsing JSON objects from strings, and also re-encoding if need be. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
jszwedko
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi, assuming all of these JSON objects are in the same event you can use a remap transform and VRL to change the event's contents as needed. There's support for parsing JSON objects from strings, and also re-encoding if need be.