Versions (relevant - OpenSearch/Dashboard/Server OS/Browser):
Opensearch version 2.2.1
Plugin: opensearch-cross-cluster-replication v2.2.1.0
Describe the issue:
It is mentioned in the documentation that we can provide array of index patterns while creating replication rule: as shown in the image below -
Please provide a sample on how can we configure an array of index patterns here. Is it supported to have multiple patterns?
Configuration:
curl -XPOST -k -H ‘Content-Type: application/json’ -u ‘username:password’ ‘https://IP:9200/_plugins/_replication/_autofollow?pretty’ -d ’
{
“leader_alias” : “my-connection-new”,
“name”: “my-replication-rule”,
“pattern”: “movies*”,
“use_roles”:{
“leader_cluster_role”: “all_access”,
“follower_cluster_role”: “all_access”
}
}’
Relevant Logs or Screenshots: