VRL: "append" function #5749
Labels
domain: vrl
Anything related to the Vector Remap Language
type: feature
A value-adding code addition that introduce new functionality.
Use-cases
When looking at a transform configuration to get our events to conform to ECS I found the need to move the values from several fields to the tags field defined by ECS. As it is a list of keywords, with variable contents, it would be nice to arbitrarily push values into an array with
remap
.Attempted Solutions
It would be possible, but very brittle, to use
tags[1] = "foo"
- however this could overwrite an existing value unintentionally.The text was updated successfully, but these errors were encountered: