This post is in continuation to my last post on ElasticSearch, Filebeat and Kibana installation on AWS EC2 where I discussed installation details for elastic search. Also, Please refer to my last post to find configuration details of EC2 instance.
I will continue with details on how to install Kibana on AWS EC2 instance in this post.
1) Import elastic search GPG key
# sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
2) Create a file named kibana.repo under /etc/yum.repos.d/ and paste below content and save the file. # cd /etc/yum.repos.d/
# vi kibana.repo
[kibana-7.x]
name=Kibana repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
3) Install kibana
#yum install kibana
4) Go to /etc/kibana/ and edit Kibana.yml
# vi /etc/kibana/kibana.yml
elasticsearch.hosts: ["http://localhost:9200"]
elasticsearch.requestTimeout: 90000
server.host: "0.0.0.0"
5) Start Kibana service
# sudo service kibana start
6) Add kibana as service to start automatically on EC2 instance statup
#sudo chkconfig --add kibana
7) Kibana should be up and running on default port 5601. Hope you have added inbound rules on your EC2 instance for port 5601, so that Kibana is accessible with your elastic IP on 5601.
I will continue with details on how to install Kibana on AWS EC2 instance in this post.
1) Import elastic search GPG key
# sudo rpm --import https://artifacts.elastic.co/GPG-KEY-elasticsearch
2) Create a file named kibana.repo under /etc/yum.repos.d/ and paste below content and save the file. # cd /etc/yum.repos.d/
# vi kibana.repo
[kibana-7.x]
name=Kibana repository for 7.x packages
baseurl=https://artifacts.elastic.co/packages/7.x/yum
gpgcheck=1
gpgkey=https://artifacts.elastic.co/GPG-KEY-elasticsearch
enabled=1
autorefresh=1
type=rpm-md
3) Install kibana
#yum install kibana
4) Go to /etc/kibana/ and edit Kibana.yml
# vi /etc/kibana/kibana.yml
elasticsearch.hosts: ["http://localhost:9200"]
elasticsearch.requestTimeout: 90000
server.host: "0.0.0.0"
5) Start Kibana service
# sudo service kibana start
6) Add kibana as service to start automatically on EC2 instance statup
#sudo chkconfig --add kibana
7) Kibana should be up and running on default port 5601. Hope you have added inbound rules on your EC2 instance for port 5601, so that Kibana is accessible with your elastic IP on 5601.
.jpg)
0 comments:
Post a Comment