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:

  1. 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 -

  2. Download the installer
    wget https://artifacts.elastic.co/downloads/kibana/kibana-8.0.0-amd64.deb

  3. Confirm the checksum to ensure you have the correct installer
    shasum -a 512 kibana-8.0.0-amd64.deb

  4. Run the installer
    sudo dpkg -i kibana-8.0.0-amd64.deb

  5. create Kibana token
    sudo /usr/share/elasticsearch/bin/elasticsearch-create-enrollment-token -s kibana

  6. copy code that is displayed

  7. sudo /usr/share/kibana/bin/kibana --allow-root

  8. from a browser, follow link and instructions to configure kibana

  9. ctrl+c to stop kibana

  10. Enable the services
    sudo /bin/systemctl daemon-reload
    sudo /bin/systemctl enable kibana.service
    sudo 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.

SaltMiner: Our Solution for Enterprise Application Security ManagementLearn More
+ +