I have a cluster with two node, the second node added recently and only has Elasticsearch installed. Both are running on two different aws instances. Instance 1 has ELK installed and instance 2 has only Elasticsearch installed. My question here is -
If the instance 1 goes down, is there a way (other than load balancing these two servers ) to view Kibana dashboard via instance 2? As of now there is only ES installed on ES 2.
Apart from replicating the data from 1st ES node to 2nd ES node, what other function does adding the second node serve ? Is it only for replication? If yes how does that work incase there are issues with ES of instance 1
Could you please point me to the page, if any OR tell me the settings that need to be done on how to edit the config to point to other to access kibana from second node. I could not find the right doc for this
I referred the link and tried making changes to elasticsearch url (in kibana.yml of 1st instance) by adding host ip of second instance. So, the setting was :
elasticsearch.url: "http://:9200"
But I still cannot access kibana with this second ip and port 5601 ob browser. Telnet and ping both works fine from node 1 to node 2 and vice versa.
Could you please suggest what would have gone wrong? not sure if i'm missing something here. I 'm using 5.6.11 version
What is the purpose of this configuration? If you are looking to achieve high availability you first and foremost will need at least 3 master-eligible Elasticsearch instances. You also most likely need two Kibana instances running on different hosts. Kibana can currently as far as I remember connect only to a single IP address, so have it connect to the local instance or use a load balancer.
I'm aware of split brain scenario and the need for 3 nodes but for now i was trying to use Kibana through my second instance, just to check if I can access Kibana if node 1 is dead. Now I understand that the only option is to install Kibana on second node and use a load balance.
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.