mirror of
https://github.com/elastic/elasticsearch.git
synced 2025-04-27 00:27:25 -04:00
**Problem:** For historical reasons, source files for the Elasticsearch Guide's security, watcher, and Logstash API docs are housed in the `x-pack/docs` directory. This can confuse new contributors who expect Elasticsearch Guide docs to be located in `docs/reference`. **Solution:** - Move the security, watcher, and Logstash API doc source files to the `docs/reference` directory - Update doc snippet tests to use security Rel: https://github.com/elastic/platform-docs-team/issues/208
20 lines
738 B
Text
20 lines
738 B
Text
[role="xpack"]
|
|
[[watcher-api-get-settings]]
|
|
=== Get Watcher index settings
|
|
++++
|
|
<titleabbrev>Get Watcher settings</titleabbrev>
|
|
++++
|
|
|
|
This API allows a user to retrieve the user-configurable settings for the Watcher internal index (`.watches`). Only a subset of the index settings—those that are user-configurable—will be shown. This includes:
|
|
|
|
- `index.auto_expand_replicas`
|
|
- `index.number_of_replicas`
|
|
|
|
An example of retrieving the Watcher settings:
|
|
|
|
[source,console]
|
|
-----------------------------------------------------------
|
|
GET /_watcher/settings
|
|
-----------------------------------------------------------
|
|
|
|
The configurable settings can be modified using the <<watcher-api-update-settings,Update Watcher index settings>> API.
|