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

[Dashboard] Providing an invalid time range in URL causes data fetching gte:null - lte:null #69945

Closed
kertal opened this issue Jun 25, 2020 · 2 comments
Labels
Feature:Dashboard Dashboard related features Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas triage_needed

Comments

@kertal
Copy link
Member

kertal commented Jun 25, 2020

Kibana version:
master

Describe the bug:
When you provide an invalid time range via url, this causes data fetching with a time range of gte:null to lte:null, which means the whole data is queried, which can lead to performance issues under circumstances with large data sets (imagine user frequently fetches dashboards with a tool and provides an invalid timestamp).

Bildschirmfoto 2020-06-25 um 16 15 03

How to reproduce:

change time:(from:now-1h, to:now) to time:(from:batman_birthday, to:robin_birthday)

@kertal kertal added Feature:Dashboard Dashboard related features triage_needed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jun 25, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app (Team:KibanaApp)

@timroes timroes added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Oct 7, 2020
@ThomThomson
Copy link
Contributor

Closing this as can confirm that the time range is validated before it is applied:
Validated timeRange

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Dashboard Dashboard related features Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas triage_needed
Projects
None yet
Development

No branches or pull requests

4 participants