Install Kibana with Debian Packageedit
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.
The latest stable version of Kibana can be found on the Download Kibana page. Other versions can be found on the Past Releases page.
Import the Elastic PGP Keyedit
We sign all of our packages with the Elastic Signing Key (PGP key D88E42B4, available from https://pgp.mit.edu) with fingerprint:
4609 5ACC 8548 582C 1A26 99A9 D27D 666C D88E 42B4
Download and install the public signing key:
wget -qO - https://artifacts.elastic.co/GPG-KEY-elasticsearch | sudo apt-key add -
Installing from the APT repositoryedit
Version 6.0.0-alpha1 of Kibana has not yet been released.
Download and install the Debian package manuallyedit
Version 6.0.0-alpha1 of Kibana has not yet been released.
SysV init
vs systemd
edit
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:
ps -p 1
Running Kibana with SysV init
edit
Use the update-rc.d
command to configure Kibana to start automatically
when the system boots up:
sudo update-rc.d kibana defaults 95 10
Kibana can be started and stopped 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/
.
Running Kibana with systemd
edit
To configure Kibana to start automatically when the system boots up, run the following commands:
sudo /bin/systemctl daemon-reload sudo /bin/systemctl enable kibana.service
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. Instead, this information will be written in the log
files located in /var/log/kibana/
.
Configuring Kibana via config fileedit
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 packageedit
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 |
| |
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. |
|