From 1919698413bbc17683bc1c22732d11c8348c1dee Mon Sep 17 00:00:00 2001 From: AndyHunt66 Date: Thu, 11 Mar 2021 09:23:55 +0000 Subject: [PATCH] Add syntax for multiple selector logging (#24207) * Add syntax for multiple selector logging * Update libbeat/docs/loggingconfig.asciidoc Co-authored-by: EamonnTP Co-authored-by: EamonnTP --- libbeat/docs/loggingconfig.asciidoc | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/libbeat/docs/loggingconfig.asciidoc b/libbeat/docs/loggingconfig.asciidoc index db9b8619a7a..dabece8e98f 100644 --- a/libbeat/docs/loggingconfig.asciidoc +++ b/libbeat/docs/loggingconfig.asciidoc @@ -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 <>.