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

[Logs UI] Exponential date range adjustments can go out of range, cause a loop of 500 errors #67683

Closed
jasonrhodes opened this issue May 28, 2020 · 1 comment · Fixed by #71113
Assignees
Labels
bug Fixes for quality problems that affect the customer experience Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.8.1
Milestone

Comments

@jasonrhodes
Copy link
Member

In the stream view, when you have a date range selected and you reach the edges, we provide some buttons to "extend time frame" which somewhat exponentially increases the range which it expands by. If you're filtering for a value in the search box at the same time, it's easy to click that button many times in a row as no new entries are loaded, which eventually causes an out of range query error.

Easiest way to reproduce:

  1. Choose any log line, find it's _id and click the filter by button to filter by only that _id value (you should have only one entry
  2. Choose an "Absolute time" for the "From" part of the time range
  3. Click the "extend time frame" at the top to go back in time, watch as it increases quite rapidly with each click (my example did 7 years, 21 years, 44 years, then started failing).

Thanks to @sqren for the find and report!

image (7)

{
  "statusCode": 500,
  "error": "Internal Server Error",
  "message": "[parse_exception] failed to parse date field [-2225168973352] with format [epoch_millis]: [failed to parse date field [-2225168973352] with format [epoch_millis]] (and) [parse_exception] failed to parse date field [-2225168973352] with format [epoch_millis]: [failed to parse date field [-2225168973352] with format [epoch_millis]] (and) [parse_exception] failed to parse date field [-2225168973352] with format [epoch_millis]: [failed to parse date field [-2225168973352] with format [epoch_millis]] (and) [parse_exception] failed to parse date field [-2225168973352] with format [epoch_millis]: [failed to parse date field [-2225168973352] with format [epoch_millis]]"
}

Screen Shot 2020-05-28 at 3 14 06 PM

@jasonrhodes jasonrhodes added bug Fixes for quality problems that affect the customer experience Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.8.0 labels May 28, 2020
@elasticmachine
Copy link
Contributor

Pinging @elastic/logs-metrics-ui (Team:logs-metrics-ui)

@afgomez afgomez self-assigned this May 29, 2020
@spalger spalger added v7.8.1 and removed v7.8.0 labels Jun 18, 2020
@sgrodzicki sgrodzicki added this to the Logs UI 7.9 milestone Jun 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:Logs UI Logs UI feature Team:Infra Monitoring UI - DEPRECATED DEPRECATED - Label for the Infra Monitoring UI team. Use Team:obs-ux-infra_services v7.8.1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

5 participants