Skip to content

Latest commit

 

History

History
61 lines (47 loc) · 1.68 KB

How to set up Kibana.md

File metadata and controls

61 lines (47 loc) · 1.68 KB

Kibana Installation and Configuration Guide

This guide provides step-by-step instructions for installing and configuring Kibana on your system.


Prerequisites

  • Ensure you have wget and apt-transport-https installed on your system.
  • Root or sudo permissions are required to execute these commands.

Installation Steps

1. Add Kibana GPG Key

To ensure the authenticity of the Kibana packages, add the official GPG key:

wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg

2. Install Prereqs

Ensure you have the required apt-transport-https package:

sudo apt-get install apt-transport-https

3. Add Kibana Repository

Add the official Kibana APT repository to your sources list:

echo "deb [signed-by=/usr/share/keyrings/elasticsearch-keyring.gpg] https://artifacts.elastic.co/packages/8.x/apt stable main" | sudo tee /etc/apt/sources.list.d/elastic-8.x.list

4. Install Kibana

Update your system's package list and install Kibana:

sudo apt-get update && sudo apt-get install kibana

5. Enable Kibana as a Service

Reload the system daemon and enable Kibana to start on boot:

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

6. Start Kibana

Start Kibana:

sudo systemctl start kibana.service

Stop Kibana:

sudo systemctl stop kibana.service

7. Access Kibana Dashboard

To confirm Kibana is running successfully, visit the following URL in your browser:

http://localhost:5601

The Kibana dashboard will be accessible if the service is running correctly.