Steps to Install Kibana on Ubuntu 16.04
Install Kibana
Add Kibana to source list and upgrade package databaseecho "deb http://packages.elastic.co/kibana/4.5/debian stable main" | sudo tee -a /etc/apt/sources.list sudo apt-get update
Install kibana with this command ( this will automatically install the latest kibana packages)
sudo apt-get -y install kibana
Kibana will be installed on /opt/kibana
Configure Kibana
Next we need to configure kibana, start by edit kibana.yml filesudo nano /opt/kibana/config/kibana.yml
Configure server host
Find the line that set server.host and change it to 0.0.0.0, this will allow kibana to accept connection from any IP Addressserver.host: "localhost"to
server.host: "0.0.0.0"
Configure Elastic URL
Search for the line that set elasticsearch.url, the default value is http://localhost:9200. You only need to change this if your elasticsearch server is on a different serverelasticsearch.url: "http://localhost:9200"lets say that your elastic ip address is on 192.168.0.1 on port 9201, then change this to
elasticsearch.url: "http://192.168.0.1:9201"
Run Kibana
you can use the following commands to start, stop and monitor kibanasudo service kibana start sudo service kibana stop sudo service kibana status
By default kibana is accessible on port 5601, this is how it looks if all the configuration is succeed