-
Notifications
You must be signed in to change notification settings - Fork 25.6k
[DOCS] EQL: Document size limit for pipes
#59085
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
Conversation
Changes: * Documents the `size` default as `10`. * Updates the `head` and `tail` pipe docs to note their relation to the `size` param and better align examples with the new default.
|
Pinging @elastic/es-ql (:Query Languages/EQL) |
|
Pinging @elastic/es-docs (>docs) |
|
Converting this to a draft so I can include changes from #59063 |
|
@costin quick question on the default size. How should we make EQL in Elasticsearch and Python consistent? The python default when unspecified has been 50. Should that existing behavior be changed to default instead to 10? Or should this be changed to match the existing default of 50? |
| Common Schema (ECS)]. If an index does not contain the `event.category` field, | ||
| this value is required. | ||
|
|
||
| `fetch_size`:: |
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.
Currently, this value has to be larger than 2. Note sure though whether it makes sense mentioning this.
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 would add that this value cannot be higher index_max_result_window (one can try but will end up with an exception from ES).
Let's discuss this in our weekly meeting. In Elasticsearch, one would be able specify the default size (#58646) and default ordering. Value
That would be my preference in order to make things consistently across different Elasticsearch products. |
costin
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
Changes:
sizedefault as10.sizeparam def to note its relation to pipes.headandtailpipe docs to modify sequences.fetch_sizeparameter.Relates to #59014 and #59063