Hi,
I am using AWS EC2 linux servers with self-managed Elasticsearch usage.
Now, I have to search data from Elasticsearch Indices which are located in two different regions. For this I came to know we have to use cross-cluster-search functionality.
As these are EC2 servers, i have configured with private IP's of both as below,
{
"persistent": {
"cluster": {
"remote": {
"ireland_cluster": {
"seeds": [
"<private_IP>:9301"
],
"transport.ping_schedule": "60s"
},
"singapore_cluster": {
"seeds": [
"<private_IP>:9302"
],
"transport.compress": false
}
}
}
}
}
I ran the above query in both the clusters.
With the above configuration, when i execute below query,
GET <private_IP of ireland>:9200/ireland_cluster:index,singapore_cluster:index/_search
I am getting below error,
type": "connect_transport_exception",
"reason": "[<private_IP>:9302] connect_timeout[30s]
Could someone please help me on this issue.
Thanks & Regards,
Ram