I am setting up elasticsearch and logstash using AWS EC2 with auto scaling option .
Private IPs of EC2 are dynamic for each EC2 Instance creation during Auto scaling .
i am looking for any information on how to configure elasticsearch.yml with no/minimum IP addresses.
Also looking for info on logstash configuration on what elasticsearch IPs should provided in the conf file.
It would be great if there are any pointers on how to it and samples of elasticsearch and logstash config files .