0

The Task Management Api: https://www.elastic.co/guide/en/elasticsearch/reference/current/tasks.html

returns data about currently running task.

What is the way to get results of the task that has been completed?

I tried the solution from here: View Completed Elasticsearch Tasks

but it does not work. Returns the same error as the other guys mentioned:

{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [.tasks]","resource.type":"index_or_alias","resource.id":".tasks","index_uuid":"na","index":".tasks"}],"type":"index_not_found_exception","reason":"no such index [.tasks]","resource.type":"index_or_alias","resource.id":".tasks","index_uuid":"na","index":".tasks"},"status":404} 

Can anyone suggest?

UPDATE. This is what I get when running: GET _cat/indices/.*?v

I replaced some of the sensitive data with XXXX

health status index                           uuid   pri rep docs.count docs.deleted store.size pri.store.size
green  open   .kibana_account_name            XXXX   1   1          2            0     23.1kb         11.5kb
green  open   .kibana_XXXX                    XXXX   1   1          1            0     10.2kb          5.1kb
green  open   .opensearch-notebooks           XXXX   1   1          0            0       416b           208b
green  open   .kibana_1                       XXXX   1   1         14            1       75kb         37.5kb
green  open   .opendistro_security            XXXX   1   2          9            3    171.9kb         57.3kb
Val
  • 207,596
  • 13
  • 358
  • 360
Shambala
  • 74
  • 7

0 Answers0