]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
doc: documentation for custom JSON flags in eve-log
authorMats Klepsland <mats.klepsland@gmail.com>
Wed, 25 Jan 2017 13:11:49 +0000 (14:11 +0100)
committerVictor Julien <victor@inliniac.net>
Fri, 17 Feb 2017 12:04:23 +0000 (13:04 +0100)
doc/userguide/output/eve/eve-json-output.rst

index 104fc10b46438613183e9ca7fb3ec68376fcd9f9..a960e7e16cd94527c1e64f495174affeb117a0b8 100644 (file)
@@ -246,3 +246,26 @@ For most output types, you can add multiple:
 
 Except for ``drop`` for which only a single logger instance is supported.
 
+JSON flags
+~~~~~~~~~~
+
+Several flags can be specified to control the JSON output in EVE:
+
+::
+
+  outputs:
+    - eve-log:
+        json:
+          # Sort object keys in the same order as they were inserted
+          preserve-order: yes
+
+          # Make the output more compact
+          compact: yes
+
+          # Escape all unicode characters outside the ASCII range
+          ensure-ascii: yes
+
+          # Escape the '/' characters in string with '\/'
+          escape-slash: yes
+
+All these flags are enabled by default, and can be modified per EVE instance.