Dynamically Apply values from enrichment table row #23115
Answered
by
pront
aranade-anduril
asked this question in
Q&A
-
my enrichment table is very simple, just 2 rows
and I want to tag every metric with the values in the second row. Can I tag my metric with those fields without hardcoding I do it like this right now, but it requires hardcoding of the above 3 values:
Let's say the enrichment table is expanded in the future to support an additional column, I'd want to be able for my code to handle this without updating the VRL. |
Beta Was this translation helpful? Give feedback.
Answered by
pront
Jul 2, 2025
Replies: 1 comment
-
Hi @aranade-anduril, you can probably vector.dev/docs/reference/vrl/functions/#map_keys for this. |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
pront
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @aranade-anduril, you can probably vector.dev/docs/reference/vrl/functions/#map_keys for this.