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

[7.x] Map iteration support for ForEach processor (#64062) #76611

Merged
merged 2 commits into from
Aug 17, 2021

Conversation

danhermann
Copy link
Contributor

Adds support to the ForEach processor for iterating over map fields in addition to array fields. When iterating over maps, an additional ingest metadata field _ingest._key is populated with the value of the map entry's key. Both the map entry's key and value can be changed. Map entries can also be removed completely by setting the key to a null or empty string value.

Resolves #55215

Backport of #64062

@danhermann danhermann added >enhancement :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP backport v7.15.0 labels Aug 17, 2021
@elasticmachine elasticmachine added the Team:Data Management Meta label for data/management team label Aug 17, 2021
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (Team:Core/Features)

@danhermann danhermann merged commit 4d0dee5 into elastic:7.x Aug 17, 2021
@danhermann danhermann deleted the backport_7x_64062_foreach_maps branch August 17, 2021 14:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >enhancement Team:Data Management Meta label for data/management team v7.15.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants