Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

VRL: "append" function #5749

Closed
spencergilbert opened this issue Dec 28, 2020 · 0 comments · Fixed by #5750
Closed

VRL: "append" function #5749

spencergilbert opened this issue Dec 28, 2020 · 0 comments · Fixed by #5750
Labels
domain: vrl Anything related to the Vector Remap Language type: feature A value-adding code addition that introduce new functionality.

Comments

@spencergilbert
Copy link
Contributor

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.

@spencergilbert spencergilbert added the type: feature A value-adding code addition that introduce new functionality. label Dec 28, 2020
@binarylogic binarylogic added the domain: vrl Anything related to the Vector Remap Language label Dec 28, 2020
@binarylogic binarylogic added this to the 2021-01-04 Xenomass Well milestone Dec 28, 2020
@jamtur01 jamtur01 removed this from the 2021-01-04 Xenomass Well milestone Jan 1, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain: vrl Anything related to the Vector Remap Language type: feature A value-adding code addition that introduce new functionality.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants