Thursday, August 4, 2016

How to install Kibana and Sense on Lubuntu 16.04


After installing elasticsearch you might want to add essential tools for elasticsearch such as kibana and sense, in this article i will show you how to install kibana and sense on lubuntu 16.04.

Kibana is a web based user interface tool or dashboard for elasticsearch, once you have kibana you can install other tools such as marvel, sense and etc.

NOTE:
you need to install kibana that's match with your elasticsearch version, for example if you are using elasticsearch 2.3.3, then you need to install kibana version 4.5.1, because this version support elasticsearch 2.3.3.

How to install kibana on lubuntu 16.04
sudo dpkg -i kibana_4.5.1_amd64.deb
  • start the kibana service by typing this command
sudo /opt/kibana/bin/kibana
  • if there is no error, open url http://0.0.0.0:5601/ with your favorite web browser

How to install sense on lubuntu 16.04
  • sense is basically kibana plugin, so you need to install kibana first
  • stop kibana if it's currently running, press CTRL C on the console where you run kibana
  • still on the command line, run this command to install sense
sudo /opt/kibana/bin/kibana plugin --install elastic/sense
  • start kibana service again
sudo /opt/kibana/bin/kibana
  • open url http://0.0.0.0:5601/app/sense to open sense window

As you can see the default installation folder for kibana is /opt/kibana/, inside you can find config folder which contains the configuration file for kibana, kibana.yml.


this short tutorial is based on elasticsearch 2.3.3 on lubuntu 16.04


~ cheers ~

1 comment: