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
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"
Response examples (200)
A successful response `POST /_ccr/auto_follow/my_auto_follow_pattern/resume`, which resumes an auto-follow pattern.
{
"acknowledged" : true
}