-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
Multiple OR statements, such as a list of IPs very slow (due to nested query?) #69649
Comments
Pinging @elastic/kibana-app-arch (Team:AppArch) |
Just to have it directly available here, let's copy the query sent over here: Query send
This looks indeed weird, that we convert a flat query like |
Just FYI, the following syntax is supported:
However, I believe it still generates in the nested structure. Are you sure the bottleneck is caused by how the query is written (i.e. the query runs more quickly when sending it in a single We have discussed an optimization step in how KQL queries are written (for example, to combine range queries as well with multiple conditions). It might make sense to consider as part of that effort, if only for the purpose of sending a smaller payload to the server/Elasticsearch. |
I also tried this syntax before reporting, just forgot to mention it |
I just discovered this problem today. Any ETA on a resolution? |
Hooray! |
Kibana version:
7.8
Elasticsearch version:
7.8
Server OS version:
OpenSUSE 15.1
This is a follow-up to #4673 (comment). I'll quote it here again.
The text was updated successfully, but these errors were encountered: