Skip to content

Commit

Permalink
Log by default to journald on systems with systemd (elastic#8942)
Browse files Browse the repository at this point in the history
Add `-e` flag to command line when running beats from systemd so beats
logs are collected by journald by default in systems with systemd.

Add also some environment variables so command line flags can be
more easily overriden with a drop-in unit or with `systemctl edit`.

Add documentation about the use of Beats with systemd.
  • Loading branch information
jsoriano committed Dec 9, 2018
1 parent 425b49c commit d2afa42
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions docs/setting-up-running.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ This section includes additional information on how to set up and run
* <<directory-layout>>
* <<keystore>>
* <<command-line-options>>
* <<running-with-systemd>>
* <<shutdown>>


Expand All @@ -28,4 +29,6 @@ include::../../libbeat/docs/keystore.asciidoc[]

include::../../libbeat/docs/command-reference.asciidoc[]

include::../../libbeat/docs/shared-systemd.asciidoc[]

include::../../libbeat/docs/shared-shutdown.asciidoc[]

0 comments on commit d2afa42

Please sign in to comment.