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

Enhancement: kill switch #1173

Closed
faxm0dem opened this issue Apr 22, 2014 · 8 comments
Closed

Enhancement: kill switch #1173

faxm0dem opened this issue Apr 22, 2014 · 8 comments

Comments

@faxm0dem
Copy link

It would make sense to be able to cancel an ongoing query, if any of the following apply:

  • the user closes his browser window/tab
  • the user runs another query by clicking on any icon which runs a query
  • the user clicks on an explicit "cancel" button
@rashidkpc
Copy link
Contributor

There is no method for killing Elasticsearch queries. The best we can do is not go to the next index in the case of panels that are able to query indices in a sequential manner, which already happens. There's an elasticsearch ticket here that mentions the ability to kill queries:

elastic/elasticsearch#4329

@jccq
Copy link

jccq commented Apr 17, 2018

Hi @rashidkpc @tbragin , the task management API is now available. this could likely be reopen? Would be cool Kibana automatically issued cancellations when switching dashboards.

@tbragin
Copy link
Contributor

tbragin commented Apr 17, 2018

@stacey-gammon @alexfrancoeur ^^ Not sure if we are already tracking something similar in another open issue?

@stacey-gammon
Copy link
Contributor

There's this: #14544 that I found for discover, but I couldn't find one for dashboard specifically.

@alexfrancoeur
Copy link

I've had a few different discussions with @epixa about utilizing the task management API across Kibana. In our last discussion, I believe we decided to fix a longstanding issue with the kibana_timeout setting first (#5608?). @epixa should we re-open this issue or create a new one to utilize the task management API across Kibana?

@epixa
Copy link
Contributor

epixa commented Apr 18, 2018

@alexfrancoeur Given the nature of Kibana today, I don't think one issue can cover this. I think filing discrete issues for specific circumstances, like #14544 is the best way to handle it. I wish we could handle this globally, but our search and routing abstractions are just nowhere near capable of doing that for all the features of Kibana. It sounds like the specific need brought up now is to cancel requests when leaving a dashboard, so I recommend creating an issue for that.

@alexfrancoeur
Copy link

thanks @epixa I had thought of a number of other ways in which we could utilize this new API. I'll open a few issues later this week, including cancelling requests when leaving a dashboard.

@alexfrancoeur
Copy link

Separated this request and others into a few issues: #17265, #17844, #17845, #17846

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants
@epixa @faxm0dem @tbragin @rashidkpc @jccq @stacey-gammon @alexfrancoeur and others