-
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
Date histogram slow on Discover page #15732
Comments
This sounds similar to the issue I filed in #15662 |
Turns out this might be solvable in ES. |
Was probably introduced by |
Nope, that PR only changed TSVB which we don’t use in Discover. |
After some testing - difference only starts being noticeable on datasets ( shards? ) of more than 10mil documents. Affected areas include discover and any visualizations that use datetime histograms.
Note: in our case the difference is dramatic (2+ times faster discover and visualizations with datetime histograms) so for us workaround is worth it. |
Describe the feature:
When loading the discover page, the date histogram can take a long time to load, especially if a large time frame is selected. Looking at the requests submitted by Kibana, this seems to be due principally to the
time_zone
property included in that calculation. The request is dramatically faster when dropping that property, which is apparently normal behavior. It would be nice if the histogram could be loaded in batches and not delay the loading of the documents in the discover pane, or if applying thetime_zone
property would be optionalThe text was updated successfully, but these errors were encountered: