Update Watcher index settings
- PUT /_watcher/settings
Update settings for the Watcher internal index (.watches).
Only a subset of settings can be modified.
This includes index.auto_expand_replicas, index.number_of_replicas, index.routing.allocation.exclude.*,
index.routing.allocation.include.* and index.routing.allocation.require.*.
Modification of index.routing.allocation.include._tier_preference is an exception and is not allowed as the
Watcher shards must always be in the data_content tier.
- Cluster privileges:
manage_watcher
Query Parameters
-
master_timeoutstring Duration · default: 30s 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.
-
timeoutstring Duration The period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
Request
-
index.auto_expand_replicasstring -
index.number_of_replicasnumber
Response
application/json
-
acknowledgedbooleanrequired