[DOCS] Starting and stopping Kibana (#20354)

This commit is contained in:
Lisa Cawley 2018-07-03 11:30:08 -07:00 committed by GitHub
parent c0f0aae5de
commit 5c32523cd9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 123 additions and 64 deletions

View file

@ -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[]

View 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/`.

View file

@ -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]]

View file

@ -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

View 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/`.

View file

@ -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[]

View 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*.

View file

@ -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]]

View 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*.

View file

@ -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

View 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[]