Hi Team,
We have created a new remote cluster(in addition to one existing cluster) and a new index in it. We are trying to create an alias of that newly created index but getting index not found error(We are able to see the new index in Index Patterns).
POST _aliases
{
"actions": [
{
"add": {
"index": "iib-elasticsearc",
"alias": "test_iib_alias"
}
}
]
}
{
"error" : {
"root_cause" : [
{
"type" : "index_not_found_exception",
"reason" : "no such index [iib-elasticsearc]",
"index_uuid" : "na",
"resource.type" : "index_or_alias",
"resource.id" : "iib-elasticsearc",
"index" : "iib-elasticsearc"
}
],
"type" : "index_not_found_exception",
"reason" : "no such index [iib-elasticsearc]",
"index_uuid" : "na",
"resource.type" : "index_or_alias",
"resource.id" : "iib-elasticsearc",
"index" : "iib-elasticsearc"
},
"status" : 404
}