I have 2 elastic search clusters.
Both cluster have ELBs for datanode & co-ordinator nodes set as the number of nodes can be increased/decreased. As we have deployed ELK stack in AWS cloud and do rehydration every 30 days, the IP address will change.
Hence, we would like to use ELBs names for logstash & kibana to connect to the Elastic search cluster.
But as per the elastic search cross cluster documentation, we need specify the clusters & their seeds.
My questions here are:
How can we specify ELB ( AWS elastic load balance) here as the 93xx ports are not open on these ELB? As the IP address of Elastic search instance will change in our environment, hence we would like to use ELBs name so that the search request sent to remote clusters are distributed & not coupled with Ip addresses.
How do I pass the credentials of remote cluster in the seed block? there is no clear documentation whether it is support or not. As I'm using X-Pack on both clusters and changed the default password for elastic user, hence I need to know how to pass the credentials in the seed.
How do I search the data in same index name from multiple clusters without specifying cluster-name (specified in the elasticsearch.yml) in the search query...
I tried below queries and didn't work