原英文版地址: https://www.elastic.co/guide/en/elasticsearch/reference/7.7/ccr-resume-auto-follow-pattern.html, 原文档版权归 www.elastic.co 所有
本地英文版地址: ../en/ccr-resume-auto-follow-pattern.html
本地英文版地址: ../en/ccr-resume-auto-follow-pattern.html
重要: 此版本不会发布额外的bug修复或文档更新。最新信息请参考 当前版本文档。
Resume auto-follow pattern APIedit
Resumes an auto-follow pattern.
Requestedit
POST /_ccr/auto_follow/<auto_follow_pattern_name>/resume
Prerequisitesedit
-
If the Elasticsearch security features are enabled, you must have
manage_ccr
cluster privileges on the cluster that contains the follower index. For more information, see Security privileges.
Descriptionedit
This API resumes an auto-follow pattern that has been paused with the pause auto-follow pattern API. When this API returns, the auto-follow pattern will resume configuring following indices for newly created indices on the remote cluster that match its patterns. Remote indices created while the pattern was paused will also be followed, unless they have been deleted or closed in the meantime.
Path parametersedit
-
<auto_follow_pattern_name>
- (Required, string) Specifies the name of the auto-follow pattern to resume.
Examplesedit
This example resumes the activity of a paused auto-follow pattern
named my_auto_follow_pattern
:
POST /_ccr/auto_follow/my_auto_follow_pattern/resume
The API returns the following result:
{ "acknowledged" : true }