Remote Cluster Index handling

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
}

Cat you run GET iib-elasticsearc and paste the response? From here it looks as if there is an h missing at the end, but that is hard to tell.

Also, GET _cat/indices will give you a list of indices on that system. Is that index among those?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.