Skip to content

Conversation

@talevy
Copy link
Contributor

@talevy talevy commented Dec 19, 2016

Now you can parse field values of the key=value variety and have
key be inserted as a field name in an ingest document.

Closes #22222.

@talevy talevy added :Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >enhancement review v5.2.0 v6.0.0-alpha1 labels Dec 19, 2016
@talevy talevy requested a review from martijnvg December 19, 2016 21:48
Copy link
Member

@martijnvg martijnvg left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Left a small comment.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

maybe wrap includeKeys in a Collections.unmodifiableList(...)?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

definitely, it crossed my mind when I first started typing and forgot about it towards the end. thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

updated to include this

Now you can parse field values of the `key=value` variety and have
`key` be inserted as a field name in an ingest document.

Closes elastic#22222.
@talevy
Copy link
Contributor Author

talevy commented Dec 20, 2016

retest this please

@talevy talevy merged commit c53b2ee into elastic:master Dec 20, 2016
@talevy talevy deleted the kvprocessor branch December 20, 2016 21:26
@talevy talevy removed the review label Dec 20, 2016
talevy added a commit that referenced this pull request Dec 20, 2016
Now you can parse field values of the `key=value` variety and have
`key` be inserted as a field name in an ingest document.

Closes #22222.
talevy added a commit that referenced this pull request Dec 27, 2016
- checks for index-out-of-bounds
- added unit tests for failed `field_split` and `value_split` scenarios

missed this test in #22272.
talevy added a commit that referenced this pull request Dec 27, 2016
- checks for index-out-of-bounds
- added unit tests for failed `field_split` and `value_split` scenarios

missed this test in #22272.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

:Data Management/Ingest Node Execution or management of Ingest Pipelines including GeoIP >feature v5.2.0 v6.0.0-alpha1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants