How to Install and Configure Kibana on Ubuntu

A picture is worth a thousand log lines. Kibana gives you the freedom to select the way you give shape to your data. Kibana lets you visualize your Elasticsearch data and navigate the Elastic Stack so you can do anything from tracking query load to understanding the way requests flow through your apps.
Install Kibana<
Packages is signed with the Elasticsearch Signing Key. Download and install the public signing key:

wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -

You may need to install the apt-transport-https package on Ubuntu before proceeding

$sudo apt-get install apt-transport-https
Reading package lists... Done
Building dependency tree
Reading state information... Done
apt-transport-https is already the newest version (1.6.12).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Save the repository definition to /etc/apt/sources.list.d/elastic-7.x.list:

echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list

You can install the Kibana Debian package with:

sudo apt-get update
sudo apt-get install kibana

You can start and stop Kibana service by following commands

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

Once you have started kibana service, let us check status

$ sudo systemctl status kibana.service
● kibana.service - Kibana
Loaded: loaded (/etc/systemd/system/kibana.service; disabled; vendor preset: enabled)
Active: active (running) since Tue 2020-01-07 21:25:22 IST; 9s ago
Main PID: 6226 (node)
Tasks: 11 (limit: 4915)
CGroup: /system.slice/kibana.service
└─6226 /usr/share/kibana/bin/../node/bin/node /usr/share/kibana/bin/../src/cli -c /etc/kibana/kibana.yml

Let us try to access kibana server by accessing  at http://localhost:5601

Now, we need to make following changes

server.port: 5601
server.host: "localhost"
elasticsearch.hosts: ["http://localhost:9200"]

Now let us try to access kibana again at http://localhost:5601

Here is sample Dashboard, this dashboard is a

a