EQL: Plug query params into the AstBuilder#51886
Merged
costin merged 5 commits intoelastic:masterfrom Feb 5, 2020
Merged
Conversation
Add basic field resolution inside the Analyzer and a basic Verifier to check for any unresolved fields
As the eventType is customizable, plug that into the parser based on the given request.
Collaborator
|
Pinging @elastic/es-search (:Search/EQL) |
Member
Author
|
Only the last commit count - the PR is raised against #51872 (which hasn't been merged yet in master). |
rw-access
reviewed
Feb 4, 2020
| private RequestDefaults() {} | ||
|
|
||
| public static final String FIELD_TIMESTAMP = "@timestamp"; | ||
| public static final String FIELD_EVENT_TYPE = "event_type"; |
Contributor
There was a problem hiding this comment.
I think event.category is the best fit, but we can come back to this in another issue/PR.
rw-access
approved these changes
Feb 4, 2020
aleksmaus
approved these changes
Feb 5, 2020
Member
Author
|
@elasticmachine merge upstream |
costin
added a commit
that referenced
this pull request
Feb 5, 2020
* EQL: Plug query params into the AstBuilder (#51886) As the eventType is customizable, plug that into the parser based on the given request. (cherry picked from commit 5b4a3a3) * EQL: Add field resolution and verification (#51872) Add basic field resolution inside the Analyzer and a basic Verifier to check for any unresolved fields. (cherry picked from commit 7087358) * EQL: Introduce basic execution pipeline (#51809) Add main classes that form the 'execution' pipeline are added - most of them have no functionality; the purpose of this PR is to add flesh out the contract between the various moving parts so that work can start on them independently. (cherry picked from commit 9a1bae5) * EQL: Add AstBuilder to convert to QL tree (#51558) * EQL: Add AstBuilder visitors * EQL: Add tests for wildcards and sets * EQL: Fix licensing * EQL: Fix ExpressionTests.java license * EQL: Cleanup imports * EQL: PR feedback and remove LiteralBuilder * EQL: Split off logical plan from expressions * EQL: Remove stray import * EQL: Add predicate handling for set checks * EQL: Remove commented out dead code * EQL: Remove wildcard test, wait until analyzer (cherry picked from commit a462700) * EQL grammar updates and tests (#49658) * EQL: Additional tests and grammar updates * EQL: Add backtick escaped identifiers * EQL: Adding keywords to language * EQL: Add checks for unsupported syntax * EQL: Testing updates and PR feedback * EQL: Add string escapes * EQL: Cleanup grammar for identifier * EQL: Remove tabs from .eql tests (cherry picked from commit 6f1890b)
This file contains hidden or 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
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.
As the eventType is customizable, plug that into the parser based on the
given request.