Getting started with kibana

Download kibana eBook

Remarks

kibana is visualization plugin for elastic search. It is used for showing the data in visualized format. so the user can easily analyse the information.

kibana doesn't requires a programming skills so developer can easily create a visualization for the information so that they can easily keep track of the processes.

Installation

prerequisites:

  • To run kibana you need to install supported version of elastic search.

for install elastic search refer this link Elasticsearch documentation

KibanaElasticsearch
4.0.0 - 4.1.x1.4.x - 1.7.x
4.2.x2.0.x
4.3.x2.1.x
4.4.x2.2.x
4.5.x2.3.x
4.6.x2.4.x
5.x5.x

choose the file that supports your operating system

Install kibana using apt-get

To install kibana you need to find out which version of elastic search is installed on your system. That can be checked using the following command:

curl "http://localhost:9200"
 

In the output you need to check the number i.e. the elastic search version.

Now find the suitable version for that. Here is the command for installing kibana 5.4.0 for elastic search 5.4.0.

wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
sudo apt-get install apt-transport-https
echo "deb https://artifacts.elastic.co/packages/5.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-5.x.list
sudo apt-get update && sudo apt-get install kibana
 

Run Kibana as a service

After Installation Kiabana doesn't start running automatically. How to start & stop depends on whether your system supports SysV init or systemd. check that using the following command.

ps -p 1
 

For Sysv init

execute the following command:

sudo update-rc.d kibana defaults 95 10
 

To start & stop the server use the following command.

sudo -i service kibana start
sudo -i service kibana stop
 

For systemd :

execute the following commands:

sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable kibana.service
 

To start & stop the server use the following command.

sudo systemctl start kibana.service
sudo systemctl stop kibana.service
 

Introduction

What is Kibana:


Kibana is used for making visualizations and creating dashboards for the indexes presented in elasticsearch. Basically, it is an open source plug-in for elasticsearch.

Kibana Page

There are Six Tabs:

  1. Discover:

    You can explore your data from Discover tab

  2. Visulization:

    Creating visualization with different charts such as bar chart,line chart,pie chart etc.

  3. Dashboard:

    It is used for creating dashboard with created visualization. It contains your visualization to represent your process.

  4. Timelion:

    It is timeseries of kibana

  5. Dev Tools

    It is like sense plugin used for elasticsearch. It contains request and response field

  6. Management

    This is used for managing your kibana. It contains Settings for the kibana plugin

Setup

For kibana configuration open config/kibana.yml and point your elasticsearch address.

By default it is http://localhost:9200
 

Before starting elasticsearch check whether elasticsearch is running. Becuacuse it is relies on Elasticsearch.

For windows:

run bin/kibana patch file.

For Mac:

run ./kibana

For Linux:

run bin/kibana.

  • To Start kibana
 Kibana URL address: http://localhost:5601/
 

Stats

89 Contributors: 3
Friday, May 26, 2017
Licensed under: CC-BY-SA

Not affiliated with Stack Overflow
Rip Tutorial: info@zzzprojects.com

Download eBook