Hello there,
Welcome to guide to enabling remote access to Kibana and Elasticsearch from a machine to another machine in the same network. Let's get started.
First of all you have to edit "elasticsearch.yml" file.
nano /etc/elasticsearch/elasticsearch.yml
It should look like this:
transport.host: localhost
transport.tcp.port: 9300
http.port: 9200
network.host: 0.0.0.0
"network.host" line must be "0.0.0.0" to allow remote access.
You must restart the service to make configuration work.
sudo systemctl restart elasticsearch
And then you have to edit Kibana's config file which names as "kibana.yml"
nano /etc/kibana/kibana.yml
It should look like this:
server.port: 5601
server.host: "X.X.X.X" (Kibana server's IP address)
You must restart the service to make configuration work.
sudo systemctl restart kibana
After that editing part, then you will be able to access Kibana's Dashboard on a web browser with this:
http://X.X.X.X:5601
X.X.X.X is your Kibana server's IP address
Hope it would be helpful :)
Top comments (0)