Resume an auto-follow pattern Generally available; Added in 7.5.0
Resume a cross-cluster replication auto-follow pattern that was paused. The auto-follow pattern will resume configuring following indices for newly created indices that match its patterns on the remote cluster. Remote indices created while the pattern was paused will also be followed unless they have been deleted or closed in the interim.
Required authorization
- Cluster privileges:
manage_ccr
Query parameters
-
The period to wait for a connection to the master node. If the master node is not available before the timeout expires, the request fails and returns an error. It can also be set to
-1
to indicate that the request should never timeout.External documentation
POST /_ccr/auto_follow/{name}/resume
Console
POST /_ccr/auto_follow/my_auto_follow_pattern/resume
resp = client.ccr.resume_auto_follow_pattern( name="my_auto_follow_pattern", )
const response = await client.ccr.resumeAutoFollowPattern({ name: "my_auto_follow_pattern", });
response = client.ccr.resume_auto_follow_pattern( name: "my_auto_follow_pattern" )
$resp = $client->ccr()->resumeAutoFollowPattern([ "name" => "my_auto_follow_pattern", ]);
curl -X POST -H "Authorization: ApiKey $ELASTIC_API_KEY" "$ELASTICSEARCH_URL/_ccr/auto_follow/my_auto_follow_pattern/resume"
client.ccr().resumeAutoFollowPattern(r -> r .name("my_auto_follow_pattern") );
Response examples (200)
A successful response `POST /_ccr/auto_follow/my_auto_follow_pattern/resume`, which resumes an auto-follow pattern.
{ "acknowledged" : true }