hi guys
i want to connect two clusters elasticsearch for cross search
this is my query :
PUT /_cluster/settings
{
"persistent" : {
"cluster" : {
"remote" : {
"c2" : {
"seeds" : [
"*************.westeurope.azure.elastic-cloud.com:9300"
]
}
}
}
}
}
but when i execute a query search :
GET c2:remote-index-test/_search
i have this error :
{
"error": {
"root_cause": [
{
"type": "transport_exception",
"reason": "handshake failed because connection reset"
}
],
"type": "connect_transport_exception",
"reason": "[2...*:9300] general node connection failure",
"caused_by": {
"type": "transport_exception",
"reason": "handshake failed because connection reset"
}
},
"status": 500
}
i think it's a problem of authentication so can some one help me to add basic athentication to configuration or to query please ?
thank you