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

Users selection to allow queries to run beyond configurable timeout #24227

Closed
AlonaNadler opened this issue Oct 18, 2018 · 4 comments · Fixed by #60706
Closed

Users selection to allow queries to run beyond configurable timeout #24227

AlonaNadler opened this issue Oct 18, 2018 · 4 comments · Fixed by #60706
Assignees
Labels
Feature:Search Querying infrastructure in Kibana

Comments

@AlonaNadler
Copy link

AlonaNadler commented Oct 18, 2018

This suggestion was discussed on EAH,
Occasionally, users can run queries that might take longer time, provide a popup after a configurable time (or at timeout) that notify the query takes longer, users can decide whether they want to continue waiting for the results or to refine the query, which will cancel the running query and let the user refine the search, time range or aggregation.
This can also improve the experience when using frozen indices, where queries might take longer and likely reach timeout. Based on the users' decision the query can continue running beyond the configured timeout.

An example that might apply for Discover
image

@AlonaNadler AlonaNadler added the Team:Visualizations Visualization editors, elastic-charts and infrastructure label Oct 18, 2018
@AlonaNadler AlonaNadler changed the title Add a popup when query takes a long time which allows the users to decide to terminate or continue waiting Add a popup when the query takes a long time which allows the users to decide to terminate or continue waiting Oct 18, 2018
@AlonaNadler AlonaNadler changed the title Add a popup when the query takes a long time which allows the users to decide to terminate or continue waiting Users selection to allow queries to run beyond configurable timeout Feb 22, 2019
@lukasolson lukasolson added the Feature:Search Querying infrastructure in Kibana label Mar 27, 2019
@lukeelmers lukeelmers added :AppArch and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels May 30, 2019
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-app-arch

@stacey-gammon
Copy link
Contributor

How would this work on dashboard when each embeddable is executing it's own query? Would they be saying "cancel this query" so I can change it at the dashboard level? Or would the user be saying "cancel all queries", so I can then change the time range at the dashboard level? Or would the user be saying "cancel this embeddables query, and then change the query for this embeddable only"?

Would they get a pop up for every embeddable on the dashboard?

@lukasolson
Copy link
Member

Just leaving a note here that the first phase of this is planned to allow a user, while still on a page, to wait & allow the query to continue running (using ES async_search APIs). See elastic/elasticsearch#49931 & #53538.

@lukasolson
Copy link
Member

Closed by #60706.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Feature:Search Querying infrastructure in Kibana
Projects
None yet
5 participants