Elasticsearch remote cluster authentication mapping

Elasticsearch did a cross-cluster mapping

There is no problem in creating a new user to get cross-cluster data, but it prompts 404 when getting mapping

Execute statement:

curl -H "Content-Type: application/json" -XGET -u "user:user" ""

The error message is as follows

{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [user-test1:prd-zhangsan-2021.02.01]","index_uuid":"_na_" ,"resource.type":"index_or_alias","resource.id":"user-test1:prd-zhangsan-2021.02.01","index":"user-test1:prd-zhangsan-2021.02.01"}] ,"type":"index_not_found_exception","reason":"no such index [user-test1:prd-zhangsan-2021.02.01]","index_uuid":"_na_","resource.type":"index_or_alias", "resource.id":"user-test1:prd-zhangsan-2021.02.01","index":"user-test1:prd-zhangsan-2021.02.01"},"status":404}

Mapping can be obtained by canceling the cluster name [user-test1]. The mapping with the cluster name [user-test1] cannot be obtained. You can't get it even if you use a super account. Please tell me how to configure the cross-cluster search, it is normal when getting the mapping

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