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

docs: Sync Libbeat documentation #5185

Merged
merged 6 commits into from
May 3, 2021
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
backport to 7.12
bmorelli25 committed Apr 28, 2021
commit 13b58201cdd540fc531b484a82f11a96b541dca3
14 changes: 11 additions & 3 deletions docs/copied-from-beats/docs/loggingconfig.asciidoc
Original file line number Diff line number Diff line change
@@ -156,6 +156,12 @@ To see which selectors are available, run {beatname_uc} in debug mode
after the log level and is enclosed in brackets.
=====

To configure multiple selectors, use the following {beats-ref}/config-file-format.html[YAML list syntax]:
["source","yaml",subs="attributes"]
----
logging.selectors: [ harvester, input ]
----

ifndef::serverless[]
To override selectors at the command line, use the `-d` global flag (`-d` also
sets the debug log level). For more information, see <<command-line-options>>.
@@ -164,10 +170,11 @@ endif::serverless[]
[float]
==== `logging.metrics.enabled`

If enabled, {beatname_uc} periodically logs its internal metrics that have
By default, {beatname_uc} periodically logs its internal metrics that have
changed in the last period. For each metric that changed, the delta from the
value at the beginning of the period is logged. Also, the total values for all
non-zero internal metrics are logged on shutdown. The default is true.
non-zero internal metrics are logged on shutdown. Set this to false to disable
this behavior. The default is true.

Here is an example log line:

@@ -249,7 +256,8 @@ When true, logs messages in JSON format. The default is false.
[float]
==== `logging.ecs`

When true, logs messages in Elastic Common Schema (ECS) compliant format.
When true, logs messages with minimal required Elastic Common Schema (ECS)
information.

ifndef::serverless[]
[float]
Loading