Get Watcher index settings

GET /_watcher/settings

Get settings for the Watcher internal index (.watches). Only a subset of settings are shown, for example index.auto_expand_replicas and index.number_of_replicas.

Query parameters

  • The period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.

    Values are -1 or 0.

Responses

GET /_watcher/settings
curl \
 --request GET 'http://api.example.com/_watcher/settings' \
 --header "Authorization: $API_KEY"
Response examples (200)
A successful response with two index settings.
{
  "index": {
    "auto_expand_replicas": "0-4",
    "number_of_replicas": 0
  }
}