mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[DOCS] Starting and stopping Kibana (#20354)
This commit is contained in:
parent
c0f0aae5de
commit
5c32523cd9
11 changed files with 123 additions and 64 deletions
|
@ -48,6 +48,8 @@ the patch version.
|
|||
|
||||
include::setup/install.asciidoc[]
|
||||
|
||||
include::setup/start-stop.asciidoc[]
|
||||
|
||||
include::setup/settings.asciidoc[]
|
||||
|
||||
include::setup/secure-settings.asciidoc[]
|
||||
|
|
21
docs/setup/install/deb-init.asciidoc
Normal file
21
docs/setup/install/deb-init.asciidoc
Normal file
|
@ -0,0 +1,21 @@
|
|||
==== Running Kibana with SysV `init`
|
||||
|
||||
Use the `update-rc.d` command to configure Kibana to start automatically
|
||||
when the system boots up:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
sudo update-rc.d kibana defaults 95 10
|
||||
--------------------------------------------------
|
||||
|
||||
You can start and stop Kibana using the `service` command:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
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/`.
|
||||
|
|
@ -128,31 +128,15 @@ https://artifacts.elastic.co/downloads/kibana/kibana-oss-{version}-amd64.deb
|
|||
|
||||
endif::[]
|
||||
|
||||
==== SysV `init` vs `systemd`
|
||||
|
||||
include::init-systemd.asciidoc[]
|
||||
|
||||
[[deb-running-init]]
|
||||
==== Running Kibana with SysV `init`
|
||||
|
||||
Use the `update-rc.d` command to configure Kibana to start automatically
|
||||
when the system boots up:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
sudo update-rc.d kibana defaults 95 10
|
||||
--------------------------------------------------
|
||||
|
||||
Kibana can be started and stopped using the `service` command:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
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/`.
|
||||
include::deb-init.asciidoc[]
|
||||
|
||||
[[deb-running-systemd]]
|
||||
|
||||
include::systemd.asciidoc[]
|
||||
|
||||
[[deb-configuring]]
|
||||
|
|
|
@ -1,4 +1,3 @@
|
|||
==== SysV `init` vs `systemd`
|
||||
|
||||
Kibana is not started automatically after installation. How to start
|
||||
and stop Kibana depends on whether your system uses SysV `init` or
|
||||
|
|
20
docs/setup/install/rpm-init.asciidoc
Normal file
20
docs/setup/install/rpm-init.asciidoc
Normal file
|
@ -0,0 +1,20 @@
|
|||
==== Running Kibana with SysV `init`
|
||||
|
||||
Use the `chkconfig` command to configure Kibana to start automatically
|
||||
when the system boots up:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
sudo chkconfig --add kibana
|
||||
--------------------------------------------------
|
||||
|
||||
You can start and stop Kibana using the `service` command:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
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/`.
|
|
@ -119,30 +119,12 @@ https://artifacts.elastic.co/downloads/kibana/kibana-oss-{version}-x86_64.rpm
|
|||
|
||||
endif::[]
|
||||
|
||||
==== SysV `init` vs `systemd`
|
||||
|
||||
include::init-systemd.asciidoc[]
|
||||
|
||||
[[rpm-running-init]]
|
||||
==== Running Kibana with SysV `init`
|
||||
|
||||
Use the `chkconfig` command to configure Kibana to start automatically
|
||||
when the system boots up:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------------
|
||||
sudo chkconfig --add kibana
|
||||
--------------------------------------------------
|
||||
|
||||
Kibana can be started and stopped using the `service` command:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
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/`.
|
||||
|
||||
include::rpm-init.asciidoc[]
|
||||
|
||||
[[rpm-running-systemd]]
|
||||
include::systemd.asciidoc[]
|
||||
|
|
11
docs/setup/install/targz-running.asciidoc
Normal file
11
docs/setup/install/targz-running.asciidoc
Normal file
|
@ -0,0 +1,11 @@
|
|||
==== Running Kibana from the command line
|
||||
|
||||
Kibana can be started from the command line as follows:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
./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*.
|
|
@ -76,17 +76,7 @@ endif::[]
|
|||
|
||||
|
||||
[[targz-running]]
|
||||
==== Running Kibana from the command line
|
||||
|
||||
Kibana can be started from the command line as follows:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
./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`.
|
||||
include::targz-running.asciidoc[]
|
||||
|
||||
|
||||
[[targz-configuring]]
|
||||
|
|
11
docs/setup/install/windows-running.asciidoc
Normal file
11
docs/setup/install/windows-running.asciidoc
Normal file
|
@ -0,0 +1,11 @@
|
|||
==== Running Kibana from the command line
|
||||
|
||||
Kibana can be started from the command line as follows:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
.\bin\kibana.bat
|
||||
--------------------------------------------
|
||||
|
||||
By default, Kibana runs in the foreground, prints its logs to `STDOUT`,
|
||||
and can be stopped by pressing *Ctrl-C*.
|
|
@ -46,17 +46,7 @@ https://artifacts.elastic.co/downloads/kibana/kibana-oss-{version}-windows-x86_6
|
|||
endif::[]
|
||||
|
||||
[[windows-running]]
|
||||
==== Running Kibana from the command line
|
||||
|
||||
Kibana can be started from the command line as follows:
|
||||
|
||||
[source,sh]
|
||||
--------------------------------------------
|
||||
.\bin\kibana.bat
|
||||
--------------------------------------------
|
||||
|
||||
By default, Kibana runs in the foreground, prints its logs to `STDOUT`,
|
||||
and can be stopped by pressing `Ctrl-C`.
|
||||
include::windows-running.asciidoc[]
|
||||
|
||||
[[windows-configuring]]
|
||||
==== Configuring Kibana via config file
|
||||
|
|
49
docs/setup/start-stop.asciidoc
Normal file
49
docs/setup/start-stop.asciidoc
Normal file
|
@ -0,0 +1,49 @@
|
|||
[[start-stop]]
|
||||
== Starting and stopping Kibana
|
||||
|
||||
The method for starting and stopping {kib} varies depending on how you installed
|
||||
it.
|
||||
|
||||
[float]
|
||||
[[start-start-targz]]
|
||||
=== Archive packages (`.tar.gz`)
|
||||
|
||||
If you installed {kib} on Linux or Darwin with a `.tar.gz` package, you can
|
||||
start and stop {kib} from the command line.
|
||||
|
||||
[float]
|
||||
include::install/targz-running.asciidoc[]
|
||||
|
||||
[float]
|
||||
[[start-stop-zip]]
|
||||
=== Archive packages (`.zip`)
|
||||
|
||||
If you installed {kib} on Windows with a `.zip` package, you can
|
||||
stop and start {kib} from the command line.
|
||||
|
||||
[float]
|
||||
include::install/windows-running.asciidoc[]
|
||||
|
||||
[float]
|
||||
[[start-stop-deb]]
|
||||
=== Debian packages
|
||||
|
||||
include::install/init-systemd.asciidoc[]
|
||||
|
||||
[float]
|
||||
include::install/deb-init.asciidoc[]
|
||||
|
||||
[float]
|
||||
include::install/systemd.asciidoc[]
|
||||
|
||||
[float]
|
||||
[[start-stop-rpm]]
|
||||
=== RPM packages
|
||||
|
||||
include::install/init-systemd.asciidoc[]
|
||||
|
||||
[float]
|
||||
include::install/rpm-init.asciidoc[]
|
||||
|
||||
[float]
|
||||
include::install/systemd.asciidoc[]
|
Loading…
Add table
Add a link
Reference in a new issue