elasticsearch-2.0

Kibana on Docker cannot connect to Elasticsearch

你。 提交于 2019-11-28 21:37:54
问题 I tried to create Kibana and Elasticsearch and it seems that Kibana is having trouble identifying Elasticsearch. Here are my steps: 1) Create network docker network create mynetwork --driver=bridge 2) Run Elasticsearch Container docker run -d -p 9200:9200 -p 9300:9300 --name elasticsearch_2_4 --network mynetwork elasticsearch:2.4 3) Run Kibana Container docker run -i --network mynetwork -p 5601:5601 kibana:4.6 I get a JSON output when I connect to Elasticsearch via http://localhost:9200/

How to bind Elasticsearch 2.0 on both Loopback and Non-Loopback interfaces?

空扰寡人 提交于 2019-11-26 23:04:42
问题 Starting from version 2.0 Elasticsearch binds only on the loopback interface by default ( _local_ in terms of configuration). The documentation says that there is a way to switch to another network, for example, _non_loopback_ binds to the first non-loopback interface. It works fine. But I cannot figure out how do I combine these settings so that Elasticsearch binds on both loopback and non-loopback interfaces simultaneously? PS. My reason is that I use Logstash on each Elasticsearch instance