Get Watcher index settings
Generally available
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
.
GET
/_watcher/settings
Console
GET /_watcher/settings
resp = client.watcher.get_settings()
const response = await client.watcher.getSettings();
response = client.watcher.get_settings
$resp = $client->watcher()->getSettings();
curl -X GET -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_watcher/settings"
Response examples (200)
A successful response with two index settings.
{
"index": {
"auto_expand_replicas": "0-4",
"number_of_replicas": 0
}
}