Create or update auto-follow patterns

  • PUT /_ccr/auto_follow/{name}

Create a collection of cross-cluster replication auto-follow patterns for a remote cluster. Newly created indices on the remote cluster that match any of the patterns are automatically configured as follower indices. Indices on the remote cluster that were created before the auto-follow pattern was created will not be auto-followed even if they match the pattern.

This API can also be used to update auto-follow patterns. NOTE: Follower indices that were configured automatically before updating an auto-follow pattern will remain unchanged even if they do not match against the new patterns.

More about auto-follow patterns

Path Parameters

name string Name required

The name of the collection of auto-follow patterns.

Query Parameters

master_timeout string Duration · default: 30s

Period to wait for a connection to the master node.

Response