How to retrieve xpack watch_id

Currently I replaced all data nodes and my cluster is red. There are unassigned shards in .watches index which I'm unable to delete.

Based on this documentation I need to add watch_id in delete query
https://www.elastic.co/guide/en/elasticsearch/reference/current/watcher-api-delete-watch.html

the delete watch API allows you to delete single watches.

However in this case the index that stores the watches is not available at all. Either you bring back a node which contained that index, or, if you are good with losing all of your data in that index you could delete (and potentially restore via a snapshot).

Hope this helps.

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.