Hello, I've a local cluster A and a remote elasticsearch B deployed in a docker container.
I would like to use cluster A as a cross cluster search client to search cluster B.
I've configured cluster A in this way:
PUT _cluster/settings
{
"persistent": {
"search": {
"remote": {
"cluster_B": {
"seeds": [
"cluster_B.server.local:9300"
]
}
}
}
}
}
But when I try to query the remote server in elasticsearch.log file on cluster A I found this error:
rg.elasticsearch.transport.ConnectTransportException: [SmKOedA][172.18.0.6:9300] connect_timeout[30s]
It looks like the remote server is pushing it's internal docker ip (172.18.0.6
) instead of the one I've configured
Is there a way to fix this behavior?