Managing Watchesedit

Watcher provides as set of APIs you can use to manage your watches:

Listing Watchesedit

Currently there is not dedicated API for listing the stored watches. However, since Watcher stores its watches in the .watches index, you can list them by executing a search on this index.

Important

You can only perform read actions on the .watches index. You must use the Watcher APIs to create, update, and delete watches. If Elasticsearch security features are enabled, we recommend you only grant users read privileges on the .watches index.

For example, the following returns the first 100 watches:

GET .watches/_search
{
  "size" : 100
}