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

[Discover] Invalid time range given by URL causes Exception #68087

Closed
kertal opened this issue Jun 3, 2020 · 1 comment · Fixed by #69363
Closed

[Discover] Invalid time range given by URL causes Exception #68087

kertal opened this issue Jun 3, 2020 · 1 comment · Fixed by #69363
Labels
blocker bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.9.0 v8.0.0

Comments

@kertal
Copy link
Member

kertal commented Jun 3, 2020

Kibana version:
7.0 - 8.0 (Master)

Describe the bug:

Depending on the version of Kibana, from 7.0 upwards, an invalid time range provided by the URL can cause a range of problems. So if the URL provides e.g.time:(from:'',to:''):

Kibana 7.0 - 7.7 submits this request, setting those values to null, which means, that all records are queried (which can lead to performance peaks).

Bildschirmfoto 2020-06-03 um 10 38 42

Kibana 7.8 displays an error message, doesn't submit the request, which is better, but the message could be more helpful

Bildschirmfoto 2020-06-03 um 15 43 34

In our current development version, the request isn't submitted, but causes an exception, that's why I labeled it as blocker:

Bildschirmfoto 2020-06-03 um 15 31 22

Steps to reproduce:

  1. Open Kibana with Discover,
  2. Select an index pattern with time field,
  3. Set a custom time range in UI
  4. Modify the URL in the Browser setting from to to '', the part of the url containing the time range should look like this: time:(from:'',to:'').
  5. Reload the Browser Tab.

Then you should experience the described issues.

@kertal kertal added bug Fixes for quality problems that affect the customer experience blocker Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Jun 3, 2020
@elasticmachine
Copy link
Contributor

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker bug Fixes for quality problems that affect the customer experience Feature:Discover Discover Application Team:Visualizations Visualization editors, elastic-charts and infrastructure v7.9.0 v8.0.0
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants