I previously had a small ELK version 2.x stack deployment for a staging & qa environment, all 3 services running on a single node. Also had elasticsearch contactable locally by logstash & kibana eg. localhost & externally to locked down public IP's for quries by remote servers. I had this setup using network.bind_host: 0.0.0.0 in my elasticsearch config.
Looking to do the same with version 5.x but i seem unable to do so as the same cfg does not work nor does the half dozen other things i've tried.
Anything I try seems to only allow me to connect via one method eg. local only or public only ie. breaking my kibana trying to connect on locahost 9200.
How can achieve the same configuration having elasticsearch reachable via localhost and its public ip as I previously had setup via v2.x?
Looks like you need other specific settings to go with what I am attempting, because I was either getting elasticsearch failing to start with no loopback errors or kibana failing to reach it on http://localhost:9200.
So I am guessing the network bound to public requires some additional settings for the transport host to be local.
Some clarity on this might be a good addition to the documents, I'm sure i wasted a day or two figuring this out for version 2.x thankfully only a morning this time.
ok so the above was only working for access publicly via the elasticIP. however, kibana was failing on localhost, i had to directly specify the actual private ip of the server.
I guess this binds all? not 100% but its working. guess eth0 priv & public ip and the loopback address are bound, allowing for kibana to be configured as http://localhost:9200
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.