-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ph
commented
Oct 25, 2018
"msg": "hello world", | ||
"expected": { | ||
"hello": "world", | ||
"key": "hello" | ||
}, |
There was a problem hiding this comment.
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.
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
force-pushed
the
fix/dissect-syntax-change
branch
from
October 31, 2018 19:29
c6e210e
to
27325e9
Compare
20 tasks
andrewkroh
approved these changes
Oct 31, 2018
Note: This will go in 6.x |
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
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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