Skip to content

Commit

Permalink
Add syntax for multiple selector logging (#24207) (#24499)
Browse files Browse the repository at this point in the history
* Add syntax for multiple selector logging

* Update libbeat/docs/loggingconfig.asciidoc

Co-authored-by: EamonnTP <[email protected]>

Co-authored-by: EamonnTP <[email protected]>

Co-authored-by: AndyHunt66 <[email protected]>
  • Loading branch information
EamonnTP and AndyHunt66 authored Mar 11, 2021
1 parent f5caf03 commit 422b2b4
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions libbeat/docs/loggingconfig.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -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>>.
Expand Down

0 comments on commit 422b2b4

Please sign in to comment.