I have a requirement to have multiple instances of ElasticSearch with one IP and different ports.
For this I tried the below configuration in my elasticsearch.yml file,
http.port : ["9200", "9202"]
http.publish_port : 9200
which means 9200 port will be established connection with ES and also it will be listening to 9202 port through 9200.
By using the above configuration, I am able to get data from multiple index in windows machine, but not in Linux machine.
Kindly help me on the issue, whether its a proper way to configure multiple ports.
Did you mean to say like, two nodes means to have a cluster whose one node running on ES 9200 and other node on ES 9201. Could you also please elaborate your information, as I am new to ES.
Thanks for your input.
Also could you please suggest me if there is any other way to fullfill this requirement. @Dadoonet,
We need to follow that approach as we have so many scripts to run on ES.
Please suggest a solution for this approach(how to get data from different indices residing at different ports of single IP)
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.