Adaptive time window to avoid timeouts in Discover #16951
Labels
Feature:Discover
Discover Application
Feature:Search
Querying infrastructure in Kibana
feedback_needed
Team:Visualizations
Visualization editors, elastic-charts and infrastructure
My cluster has a combination of dense indices with fine-grained events as well as summary indices with aggregated results for dashboarding. It is presently common for users to encounter a timeout as soon as they select the dense indices on the discover tab. A user would need to either narrow the time window to <1 day OR know to pre-filter for a particular type of event in order to avoid these timeouts.
Presently, the only knobs that I have are the global advanced settings options below:
discover:sampleSize
timepicker:timeDefaults
I had considered reducing the sample size and drastically narrowing the time window to reduce these timeouts with dense indices but then that degrades the experience when browsing all of the lighter-weight indices.
Is it possible for the time window to be adaptive to avoid timeouts? It should start narrow and focus on quickly getting something on the screen. It can then incrementally add more content and grow the default time window based on the speed of the cluster. This would at least give users a starting place for the discover process vs. staring at an empty results page after waiting 30 seconds.
The text was updated successfully, but these errors were encountered: