We Value Your Time – OpenSource Community
We Value Your Time – OpenSource Community

Install Kibana on CentOS and RHEL

Kibana is an open source data visualization tool for Elasticsearch. It provides visualization capabilities on top of the content indexed. It also supports various kind of powerful dashboards

Step 1: Import Yum Key

Download and install the signing key from RPM: We can get Kibana RPM from elastic

rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch

fingerprint: 4609 5ACC 8548 582C 1A26 99A9 D27D 666C D88E 42B4

Step 2: Create Kibana

Create Kibana repo in the /etc/yum.repos.d/ directory

cat > /etc/yum.repos.d/kibana.repo <<EOF
[kibana-6.x]
name=Kibana 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
EOF

Step 3: Install configure Kibana

[root@kibana ~]# yum install kibana-oss -y

Change “server.host” in “/etc/kibana/kibana.yml ” to your Kibana server local interface IP address

[root@kibana ~]# vi /etc/kibana/kibana.yml 
server.host: "10.142.0.17"

Connect kibana to elasticsearch

# The URL of the Elasticsearch instance to use for all your queries.
elasticsearch.url: "http://elasticsearch_ip:9200"

Enable Kibana on system startup

[root@kibana ~]# systemctl enable kibana
Created symlink from /etc/systemd/system/multi-user.target.wants/kibana.service to /etc/systemd/system/kibana.service.
[root@kibana ~]# systemctl start  kibana

You may also like Install Elasticsearch on CentOS and RHEL

Leave a comment

Your email address will not be published. Required fields are marked *

2 thoughts on “Install Kibana on CentOS and RHEL”