Create auto-follow patterns

edit

When you create an auto-follow pattern, you are configuring a collection of patterns against a single remote cluster. When an index is created in the remote cluster with a name that matches one of the patterns in the collection, a follower index is configured in the local cluster. The follower index uses the new index as its leader index.

Use the create auto-follow pattern API to add a new auto-follow pattern configuration.