The Debian package for Kibana can be downloaded from our website or from our APT repository. It can be used to install Kibana on any Debian-based system such as Debian and Ubuntu.
This package contains both free and subscription features. Start a 30-day trial to try out all of the features.
The latest stable version of Kibana can be found on the Download Kibana page. Other versions can be found on the Past Releases page.
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo gpg --dearmor -o /usr/share/keyrings/elasticsearch-keyring.gpg
You may need to install the apt-transport-https
package on Debian before proceeding:
sudo apt-get install apt-transport-https
Save the repository definition to /etc/apt/sources.list.d/elastic-{major-version}.list:
Warning
|
Do not use Unable to find expected entry 'main/source/Sources' in Release file (Wrong sources.list entry or malformed file) Delete the |
You can install the Kibana Debian package with:
sudo apt-get update && sudo apt-get install kibana
Warning
|
If two entries exist for the same Kibana repository, you will see an error like this during Duplicate sources.list entry https://artifacts.elastic.co/packages/{major-version}/apt/ ...` Examine /etc/apt/sources.list.d/kibana-{major-version}.list for the duplicate entry or locate the duplicate entry amongst the files in |
The Debian package for Kibana v{version} can be downloaded from the website and installed as follows:
wget https://artifacts.elastic.co/downloads/kibana/kibana-{version}-amd64.deb
shasum -a 512 kibana-{version}-amd64.deb <1>
sudo dpkg -i kibana-{version}-amd64.deb
-
Compare the SHA produced by
shasum
with the published SHA.
When you start {es} for the first time, the following security configuration occurs automatically:
-
Authentication and authorization are enabled, and a password is generated for the
elastic
built-in superuser. -
Certificates and keys for TLS are generated for the transport and HTTP layer, and TLS is enabled and configured with these keys and certificates.
The password and certificate and keys are output to your terminal.
You can then generate an enrollment token for {kib} with the
{ref}/create-enrollment-token.html[elasticsearch-create-enrollment-token
] tool:
bin/elasticsearch-create-enrollment-token -s kibana
Start {kib} and enter the enrollment token to securely connect {kib} with {es}.
Kibana loads its configuration from the /etc/kibana/kibana.yml
file by default. The format of this config file is explained in
{kibana-ref}/settings.html[Configuring Kibana].
The Debian package places config files, logs, and the data directory in the appropriate locations for a Debian-based system:
Type | Description | Default Location | Setting |
---|---|---|---|
home |
Kibana home directory or |
|
|
bin |
Binary scripts including |
|
|
config |
Configuration files including |
|
|
data |
The location of the data files written to disk by Kibana and its plugins |
|
|
logs |
Logs files location |
|
|
plugins |
Plugin files location. Each plugin will be contained in a subdirectory. |
|