Is it possible to have dynamic keys with VRL? #18504
-
For example I have this code where I would like the value of the variable
This would result to a log that looks like this {
"fields": {
"something": "this is a test"
}
......
} Thanks in advance! |
Beta Was this translation helpful? Give feedback.
Answered by
jszwedko
Sep 7, 2023
Replies: 1 comment 1 reply
-
Hey! Kinda. See https://vector.dev/docs/reference/vrl/functions/#set |
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
camilisette
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hey! Kinda. See https://vector.dev/docs/reference/vrl/functions/#set