Kibana Installation Under Centos / RHEL

Published on Author gryzli

Kibana is part of the famous ELK stack (ElasticSearch , Logstash , Kibana) and is best used for Vizualization and Interaction with your ES cluster.

 

When installing Kibana, it is good to make sure that your Kibana version is coresponding to your ES version. For example if you have installed ES 6.X , it is recommended to use the same 6.x major version for Kibana also.

 

The installation / configuration process is pretty straight-forward, so let’s do it.

 

I’m assuming you already have Elasticsearch 6.x installed, if not , you could follow this how-to: Installing Elasticearch under Centos7.

 

1) Add repository and install Kibana

vim /etc/yum.repos.d/elasticsearch-6.x.repo

[elasticsearch-6.x]
name=Elasticsearch repository for 6.x packages
baseurl=https://artifacts.elastic.co/packages/6.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md

 

 

2) Install Kibana package

yum install kibana

systemctl enable kibana

 

3) Edit Kibana config file

The following settings should be updated in Kibana config:

vim /etc/kibana/kibana.yml

server.port: 5601
server.host: "your-domain.com"
server.name: "your-hostname"

# Path to your elasticsearch node
elasticsearch.url: "http://elastic-node1:9200"

 

Make sure to allow TCP connections from Kibana server to ES server on port 9200.

 

4) Start and test

systemctl start kibana

 

Go to the following address:

http://your-domain:5601/