-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[DOCS] EQL: Add filter_path param to EQL search API docs
#68537
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
[DOCS] EQL: Add filter_path param to EQL search API docs
#68537
Conversation
|
Pinging @elastic/es-ql (Team:QL) |
|
Pinging @elastic/es-docs (Team:Docs) |
astefan
left a comment
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.
LGTM.
Left one comment/suggestion though.
docs/reference/eql/eql.asciidoc
Outdated
| // TEST[setup:sec_logs] | ||
|
|
||
| Use the <<common-options-response-filtering,`filter_path`>> query parameter to | ||
| filter the properties returned in the API response. For example, the following |
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.
I wouldn't call those elements "properties". I think it's more like components or elements. Or maybe leave out a name for them and just state that it's "filtering the response content".
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.
Thanks @astefan! I've reworded to avoid "properties."
Adds docs for the
filter_pathparameter to the EQL docs.While the
filter_pathparameter is already covered in our API conventions docs, response filtering is particularly useful for EQL users. Those users may not be aware of the parameter otherwise.Previews