How to show DSL (query) processing in ElasticSearch?

1.5k views Asked by At

I want to know if there is something like "show processlist (mysql)" in ElasticSearch which shows the query processing.

Also if there is a way to stop a bad query processing.

Thanks in advance.

1

There are 1 answers

0
AudioBubble On

You can run an API call to get information about the current tasks: https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html#_current_tasks_information

Example:

curl -XGET 'localhost:9200/_tasks?pretty'

Damien