How to enable the deletion of .watches index dynamically?

I'm having this index with a red status from yesterday and since I didn't create any watches yet, I found that deleting it would be the best solution but when trying to do so, I get the following error:

  "error": "This endpoint is not supported for DELETE on .watches index.",
  "status": 400

However, after some researches, I found this solution [How to rebuild .watches ].
How can I apply this configuration dynamically without restarting the cluster please?

1 Like


this is just a safeguard to not accidentally delete the watches index, as this would divert with the in memory data structure. There is however a small workaround. After stopping watcher, you could just delete the index .watche* and this would work.


1 Like

Thank you @spinscale, you saved me a lot of time!

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