This guide provides step-by-step instructions for installing and configuring Kibana on your system.
- Ensure you have
wgetandapt-transport-httpsinstalled on your system. - Root or sudo permissions are required to execute these commands.
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.gpgEnsure you have the required apt-transport-https package:
sudo apt-get install apt-transport-httpsAdd 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.listUpdate your system's package list and install Kibana:
sudo apt-get update && sudo apt-get install kibanaReload the system daemon and enable Kibana to start on boot:
sudo /bin/systemctl daemon-reload
sudo /bin/systemctl enable kibana.serviceStart Kibana:
sudo systemctl start kibana.serviceStop Kibana:
sudo systemctl stop kibana.serviceTo confirm Kibana is running successfully, visit the following URL in your browser:
The Kibana dashboard will be accessible if the service is running correctly.