Configuring and Installing Kibana
References:
Detailed instructions for installing Kibana in Ubuntu can be found here:
Install Kibana | Kibana Guide [7.15] | Elastic
The following instructions follow the instructions available at the following link which documents installing with the Debian package:
Install Kibana with Debian package | Kibana Guide [7.15] | Elastic
Instructions:
The most common install is to manually download the installation files that are for Debian and install it.
Steps:
-
Get the Elastic Search key, not needed if you did it in the last step.
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add - -
Download the installer
wget https://artifacts.elastic.co/downloads/kibana/kibana-8.0.0-amd64.deb -
Confirm the checksum to ensure you have the correct installer
shasum -a 512 kibana-8.0.0-amd64.deb -
Run the installer
sudo dpkg -i kibana-8.0.0-amd64.deb -
create Kibana token
sudo /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana -
copy code that is displayed
-
sudo /usr/share/kibana/bin/kibana --allow-root -
from a browser, follow link and instructions to configure kibana
-
ctrl+c to stop kibana
-
Enable the services
sudo /bin/systemctl daemon-reloadsudo /bin/systemctl enable kibana.servicesudo systemctl start kibana.service
✔️Ensure elastic is running by navigating to https://saltminer:5601/ in a browser or running the command:
wget -qO- https://elastichost1.domain.local:5601/
NOte: use journalctl -u kibana.service if you need to see the status.
Configuration file location:
The default locations for Kibana files are:
|
Type |
Description |
Default Location |
Setting |
|---|
|
Type |
Description |
Default Location |
Setting |
|---|---|---|---|
|
home |
Kibana home directory or $KIBANA_HOME |
/usr/share/kibana |
|
|
bin |
Binary scripts including kibana to start the Kibana server and kibana-plugin to install plugins |
/usr/share/kibana/bin |
|
|
config |
Configuration files including kibana.yml |
/etc/kibana |
KBN_PATH_CONF |
|
data |
The location of the data files written to disk by Kibana and its plugins |
/var/lib/kibana |
path.data |
|
logs |
Logs files location |
/var/log/kibana |
path.logs |
|
plugins |
Plugin files location. Each plugin will be contained in a subdirectory. |
|
|