Create or update auto-follow patterns | Elasticsearch API documentation (original) (raw)
Dismiss highlight Show more
application/json
Body Required
- The remote cluster containing the leader indices to match against.
- The maximum number of outstanding reads requests from the remote cluster.
- Settings to override from the leader index. Note that certain settings can not be overrode (e.g., index.number_of_shards).
Hide settings attribute Show settings attribute object- *
object Additional properties
- *
- The maximum number of outstanding reads requests from the remote cluster.
- A duration. Units can be
nanos
,micros
,ms
(milliseconds),s
(seconds),m
(minutes),h
(hours) andd
(days). Also accepts "0" without a unit and "-1" to indicate an unspecified value. - The maximum number of operations to pull per read from the remote cluster.
- A duration. Units can be
nanos
,micros
,ms
(milliseconds),s
(seconds),m
(minutes),h
(hours) andd
(days). Also accepts "0" without a unit and "-1" to indicate an unspecified value. - The maximum number of operations that can be queued for writing. When this limit is reached, reads from the remote cluster will be deferred until the number of queued operations goes below the limit.
- The maximum number of operations per bulk write request executed on the follower.
Responses
- 200 application/json
Hide response attribute Show response attribute object- For a successful response, this value is always true. On failure, an exception is returned instead.