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

Allow to use a star (*) to extract a value that can be referenced. #8750

Merged
merged 1 commit into from
Oct 31, 2018

Conversation

ph
Copy link
Contributor

@ph ph commented Oct 25, 2018

This commit adds support for * instead of using a named skip field
(?field) this make it compatible with ingest pipeline syntax in 6.5.

We are also adding validation enforcing that each indirect field must use an existing
and valid reference.

Fix: #8054

@ph ph added in progress Pull request is currently in progress. libbeat labels Oct 25, 2018
"msg": "hello world",
"expected": {
"hello": "world",
"key": "hello"
},
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This become invalid with the new validation that enforce strict 1:1 for reference and indirect field.

@ph ph added review and removed in progress Pull request is currently in progress. labels Oct 25, 2018
This commit adds support for * instead of using a named skip field
(?field) this make it compatible with ingest pipeline syntax in 6.5.

We are also adding validation enforcing that each indirect field must use an existing
and valid reference.

Fix: elastic#8054
@ph ph added the needs_backport PR is waiting to be backported to other branches. label Oct 31, 2018
@ph
Copy link
Contributor Author

ph commented Oct 31, 2018

Note: This will go in 6.x

@ph ph merged commit bb93d05 into elastic:master Oct 31, 2018
@ph ph added v6.6.0 and removed needs_backport PR is waiting to be backported to other branches. labels Oct 31, 2018
ph added a commit to ph/beats that referenced this pull request Nov 9, 2018
…lastic#8750)

This commit adds support for * instead of using a named skip field
(?field) this make it compatible with ingest pipeline syntax in 6.5.

We are also adding validation enforcing that each indirect field must use an existing
and valid reference.

Fix: elastic#8054
(cherry picked from commit bb93d05)
ph added a commit that referenced this pull request Nov 13, 2018
…t a value that can be referenced and add external test suite for dissect (#8861)

* Extract the Dissect test suite into an external file (#7768)

We currently have three implementations of dissect (LS, Ingest
and beats), moving the common test case to an external file is the first
step to be able to converge to a common specification.

cc @guyboertje @jakelandis

(cherry picked from commit 3e85c9a)

* Allow to use a star (*) to extract a value that can be referenced. (#8750)

This commit adds support for * instead of using a named skip field
(?field) this make it compatible with ingest pipeline syntax in 6.5.

We are also adding validation enforcing that each indirect field must use an existing
and valid reference.

Fix: #8054
(cherry picked from commit bb93d05)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants