This package is free to use under the Elastic license. It contains open source and free commercial features and access to paid commercial features. to try out all of the paid commercial features. See the Subscriptions page for information about Elastic license levels.
The latest stable version of Kibana can be found on the page. Other versions can be found on the Past Releases page.
We sign all of our packages with the Elastic Signing Key (PGP key , available from https://pgp.mit.edu) with fingerprint:
Download and install the public signing key:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
Install from the APT repository
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-7.x.list
:
echo "deb https://artifacts.elastic.co/packages/7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
Do not use add-apt-repository
as it will add a deb-src
entry as well, but we do not provide a source package. If you have added the deb-src
entry, you will see an error like the following:
Delete the deb-src
entry from the /etc/apt/sources.list
file and the installation should work as expected.
You can install the Kibana Debian package with:
sudo apt-get update && sudo apt-get install kibana
If two entries exist for the same Kibana repository, you will see an error like this during apt-get update
:
Duplicate sources.list entry https://artifacts.elastic.co/packages/7.x/apt/ ...`
Examine /etc/apt/sources.list.d/kibana-7.x.list
for the duplicate entry or locate the duplicate entry amongst the files in and the /etc/apt/sources.list
file.
An alternative package, kibana-oss
, which contains only features that are available under the Apache 2.0 license is also available. To install it, use the following sources list:
echo "deb https://artifacts.elastic.co/packages/oss-7.x/apt stable main" | sudo tee -a /etc/apt/sources.list.d/elastic-7.x.list
Download and install the Debian package manually
The Debian package for Kibana v7.9.1 can be downloaded from the website and installed as follows:
Alternatively, you can download the following package, which contains only features that are available under the Apache 2.0 license:
Kibana is not started automatically after installation. How to start and stop Kibana depends on whether your system uses SysV init
or systemd
(used by newer distributions). You can tell which is being used by running this command:
Run Kibana with SysV init
sudo update-rc.d kibana defaults 95 10
You can start and stop Kibana using the service
command:
sudo -i service kibana start
sudo -i service kibana stop
If Kibana fails to start for any reason, it will print the reason for failure to STDOUT
. Log files can be found in /var/log/kibana/
.
Run Kibana with
To configure Kibana to start automatically when the system boots up, run the following commands:
Kibana can be started and stopped as follows:
sudo systemctl start kibana.service
sudo systemctl stop kibana.service
These commands provide no feedback as to whether Kibana was started successfully or not. Log information can be accessed via journalctl -u kibana.service
.
Kibana loads its configuration from the /etc/kibana/kibana.yml
file by default. The format of this config file is explained in Configuring Kibana.
Directory layout of Debian package
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 |
|
|
optimize | Transpiled source code. Certain administrative actions (e.g. plugin install) result in the source code being retranspiled on the fly. |
| |
plugins | Plugin files location. Each plugin will be contained in a subdirectory. |
|