Start and stop Kibana

The method for starting and stopping Kibana varies depending on how you installed it.

Archive packages (.tar.gz)

If you installed Kibana on Linux or Darwin with a .tar.gz package, you can start and stop Kibana from the command line.

Run Kibana from the command line

Kibana can be started from the command line as follows:

  1. ./bin/kibana

By default, Kibana runs in the foreground, prints its logs to the standard output (stdout), and can be stopped by pressing Ctrl-C.

Archive packages (.zip)

If you installed Kibana on Windows with a .zip package, you can stop and start Kibana from the command line.

Run Kibana from the command line

Kibana can be started from the command line as follows:

  1. .\bin\kibana.bat

By default, Kibana runs in the foreground, prints its logs to STDOUT, and can be stopped by pressing Ctrl-C.

Debian packages

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:

  1. ps -p 1

Run Kibana with SysV init

Use the update-rc.d command to configure Kibana to start automatically when the system boots up:

  1. sudo update-rc.d kibana defaults 95 10

You can start and stop Kibana using the service command:

  1. sudo -i service kibana start
  2. 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 systemd

To configure Kibana to start automatically when the system boots up, run the following commands:

  1. sudo /bin/systemctl daemon-reload
  2. sudo /bin/systemctl enable kibana.service

Kibana can be started and stopped as follows:

  1. sudo systemctl start kibana.service
  2. 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.

RPM packages

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:

  1. ps -p 1

Run Kibana with SysV init

Use the chkconfig command to configure Kibana to start automatically when the system boots up:

  1. sudo chkconfig --add kibana

You can start and stop Kibana using the service command:

  1. sudo -i service kibana start
  2. 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 systemd

To configure Kibana to start automatically when the system boots up, run the following commands:

  1. sudo /bin/systemctl daemon-reload
  2. sudo /bin/systemctl enable kibana.service

Kibana can be started and stopped as follows:

  1. sudo systemctl start kibana.service
  2. 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.

Homebrew packages

If you installed Kibana with the Elastic Homebrew formulae, you can start and stop Kibana from the command line using brew services.

Run Kibana with brew services

With Homebrew, Kibana can be started and stopped as follows:

  1. brew services start elastic/tap/kibana-full
  2. brew services stop elastic/tap/kibana-full

Most Popular