]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
userguide/config: update log format symbols list
authorJuliana Fajardini <jufajardini@oisf.net>
Tue, 10 Jan 2023 22:14:08 +0000 (19:14 -0300)
committerVictor Julien <vjulien@oisf.net>
Tue, 24 Jan 2023 12:52:22 +0000 (13:52 +0100)
There were some possible format options missing after the recent changes
in the log format.

doc/userguide/configuration/suricata-yaml.rst

index db8c39306087be157266aa66fe4995d2bad91d3b..84b953f56415a57365ee18cc8077eb5ca1eba1e0 100644 (file)
@@ -1849,7 +1849,7 @@ will be displayed. This option is the so called format string::
 
   default-log-format: "[%i] %t - (%f:%l) <%d> (%n) -- "
 
-The % followed by a character, has a special meaning. There are eight
+The % followed by a character has a special meaning. There are thirteen
 specified signs:
 
 ::
@@ -1860,11 +1860,16 @@ specified signs:
   i:      Thread ID. ID of individual threads.
   m:      Thread module name. (Outputs, Detect etc.)
   d:      Log-level of specific log-event. (Error, info, debug etc.)
+  D:      Compact log format (E for Error, i for info etc.)
+  S:      Subsystem name.
+  T:      Thread name.
+  M:      Log message body.
   f:      Filename. Name of C-file (source code) where log-event is generated.
   l:      Line-number within the filename, where the log-event is generated in the source-code.
   n:      Function-name in the C-code (source code).
 
-The last three, f, l and n are mainly convenient for developers.
+
+The last three options, f, l and n, are mainly convenient for developers.
 
 The log-format can be overridden in the command line by the
 environment variable: SC_LOG_FORMAT