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

[Management] List / Terminate Running Tasks #18829

Open
AlonaNadler opened this issue May 4, 2018 · 8 comments
Open

[Management] List / Terminate Running Tasks #18829

AlonaNadler opened this issue May 4, 2018 · 8 comments
Labels
enhancement New value added to drive a business result Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more

Comments

@AlonaNadler
Copy link

AlonaNadler commented May 4, 2018

It was mentioned by a user, occasionally users run very heavy queries without being aware e.g. run a query for all data for the last 7 days, they want a way for the administrator to be able to terminate it.

Currently, there is no way to terminate the query. ES added an ID to all task which allows you to terminate specific task elastic/elasticsearch#27764
Initially, I raised that request with the Discover team but it makes much more sense to have that as an admin tool to allow the administrator to kill heavy queries.
This includes a page with a list of running tasks which then the admin can decide to terminate.

@elastic/kibana-monitoring

@AlonaNadler AlonaNadler added the Team:Monitoring Stack Monitoring team label May 4, 2018
@pickypg
Copy link
Member

pickypg commented May 4, 2018

This seems more like a management task to me. The tasks API does not report the entire query (at least not currently), and monitoring -- under best practices with a separate, dedicated monitoring cluster -- implies that there's nothing that you can do with the knowledge beyond trying to not repeat it.

However, if Management provides a Task listing, then a user could pick and choose between tasks live when it's most relevant. Longer term, I think that query performance makes perfect sense (either in combination with APM or by reading from the slowlog with Filebeat), but the most immediate need is a list / button in Management in my opinion.

@AlonaNadler AlonaNadler added :Management and removed Team:Monitoring Stack Monitoring team labels May 4, 2018
@pickypg pickypg changed the title [monitoring] ability for an admin to see al the running query and terminate a query [Management] List / Terminate Running Tasks May 4, 2018
@AlonaNadler
Copy link
Author

Following a meeting with the Elastic product team, support frequently need to help users and figure which query slow the cluster or slow specific dashboard,
Going a step forward, If we have a task listing page it will help to have a specific Kibana ID or any other metadata which can help correlate a task to what triggered it in Kibana e.g specific visualization/dashboard

@spalger spalger removed the v6.6.0 label Aug 14, 2018
@timroes timroes added Team:Visualizations Visualization editors, elastic-charts and infrastructure Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages and removed :Management DO NOT USE labels Nov 27, 2018
@flash1293 flash1293 added Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more and removed Team:Visualizations Visualization editors, elastic-charts and infrastructure labels Nov 19, 2021
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-stack-management (Team:Stack Management)

@cjcenizal
Copy link
Contributor

See #42621 for screenshots of a prototype of this UI.

See #18411 for original discussion.

@cjcenizal cjcenizal mentioned this issue Nov 19, 2021
@cjcenizal
Copy link
Contributor

Relates to #44193

@matschaffer
Copy link
Contributor

nice to see at least @cjcenizal is still thinking of this. _tasks?detailed is still basically the first place I look when trying to figure out why an ES cluster is slow even today.

@mbarretta
Copy link

Still a common ask in the field

@Aubermean
Copy link

+1 on this

@alisonelizabeth alisonelizabeth added the enhancement New value added to drive a business result label Sep 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New value added to drive a business result Feature:Kibana Management Feature label for Data Views, Advanced Setting, Saved Object management pages Team:Kibana Management Dev Tools, Index Management, Upgrade Assistant, ILM, Ingest Node Pipelines, and more
Projects
None yet
Development

No branches or pull requests