Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Accessing kibana on local network

I want to access kibana running on my local system to be accessed by local_ip:5601 on other systems in my local network. I tried adding these two lines in elastic search:

 http.cors.allow-origin: "*"
 http.cors.enabled: true

But, it didn't work either.

like image 645
learner Avatar asked Sep 08 '16 18:09

learner


1 Answers

On your kibana.yml look for the line #server.host: "0.0.0.0". It will probably be commented (#). You must remove the "#" from the line and restart your kibana service. It should allow you to access kibana from your local network ip e.g. "192.168.10.20" and make it discoverable by your other systems. On that same file kibana.yml you will find an url that points to "http://localhost:9200" by default. If your elasticsearch instance is hosted in any different url than that, you must specify to kibana config file.

You can find more information about it here

like image 97
Filipe Spindola Avatar answered Sep 20 '22 19:09

Filipe Spindola