Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce CLI flag -environment #15422

Merged
merged 15 commits into from
Jan 24, 2020
Prev Previous commit
Next Next commit
Update docs
  • Loading branch information
urso committed Jan 24, 2020
commit c070704d265ba812e9223f5ec4c06ad0bd5540ba
8 changes: 4 additions & 4 deletions libbeat/docs/command-reference.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -911,11 +911,11 @@ messages.
Logs to stderr and disables syslog/file output.

*`-environment`*::
Tell {beatname_uc} the environment it runs into. If no log output is configured
the Beat will select the default output based on the environment.
For logging purposes, specifies the environment that {beatname_uc} is running in.
This setting is used to select a default log output when no log output is configured.
Supported values are: `systemd`, `container`, `macos_service`, and `windows_service`.
{beatname_uc} will log to stdout and stderr by default if the `systemd` or
`container` environment is configured.
If `systemd` or `container` is specified, {beatname_uc} will log to stdout and stderr
by default.

*`--path.config`*::
Sets the path for configuration files. See the <<directory-layout>> section for
Expand Down