Skip to content
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

Allow a configurable max timespan per index #16957

Closed
LeeDr opened this issue Mar 3, 2018 · 1 comment
Closed

Allow a configurable max timespan per index #16957

LeeDr opened this issue Mar 3, 2018 · 1 comment
Labels
enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure

Comments

@LeeDr
Copy link

LeeDr commented Mar 3, 2018

Describe the feature: This idea came from users at Elastic{ON} 2018.

This user has some indices with few docs (and/or small docs) that they can query over a long timespan in Discover, but then when they switch to a different (much larger) index that same large timespan gets queried and kills their cluster. The idea came up to have a maximum timespan setting per index.

I'm not sure how Discover (or other tabs) would handle the case when the timespan is larger than that maximum setting.

  1. Display an friendly error message so the user has to set their timespan to a smaller range?
  2. Automatically decrease the start time of the timespan?

This user typically would switch back and forth between indices in Discover but now has to open multiple tabs to use different timespans in each.

@LeeDr LeeDr added :Management enhancement New value added to drive a business result labels Mar 3, 2018
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure intent-discuss and removed :Management DO NOT USE labels Nov 27, 2018
@timroes
Copy link
Contributor

timroes commented Apr 17, 2019

We discussed this issue and came to the conclusion of not adding that feature as described here, since we'll think this will be solved by other features.

The main driver behind this is performance optimizations. We are currently in the process of rewriting courier (#34022) which will also allow for better timeout handling (and retries) and query cancellation, which should solve a lot of these issues already.

If you really want to manually limit down the time range of a specific index to not be viewable in Kibana, we recommend you're using filtered index aliases which allow you to create an alias for that index, that filters down to only that time range. That way the limiting already happens on Elasticsearch side and thus be a real limit and not being very easily bypassed, which would happen if we would limit on the Kibana side.

@timroes timroes closed this as completed Apr 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Team:Visualizations Visualization editors, elastic-charts and infrastructure
Projects
None yet
Development

No branches or pull requests

2 participants