]> git.ipfire.org Git - thirdparty/suricata.git/commitdiff
suricata.yaml/dns: small cleanups, not that default is v2
authorJason Ish <jason.ish@oisf.net>
Sat, 12 Oct 2019 15:59:46 +0000 (09:59 -0600)
committerVictor Julien <victor@inliniac.net>
Sat, 12 Oct 2019 16:17:39 +0000 (18:17 +0200)
Note that the eve dns log format is version 2 by default.

Make the value of commented out values their default.

Update the comment on the types to better reflect what it does.

suricata.yaml.in

index decefaed80b3c6ada5c32dd6a41c9b8323295d1b..d78ac70d3e5a60668fcf7fa3b6b2acdbf4d0789b 100644 (file)
@@ -200,16 +200,14 @@ outputs:
         - dns:
             # This configuration uses the new DNS logging format,
             # the old configuration is still available:
-            # http://suricata.readthedocs.io/en/latest/configuration/suricata-yaml.html#eve-extensible-event-format
-            # Use version 2 logging with the new format:
-            # DNS answers will be logged in one single event
-            # rather than an event for each of it.
-            # Without setting a version the version
-            # will fallback to 1 for backwards compatibility.
-            version: 2
+            # https://suricata.readthedocs.io/en/latest/output/eve/eve-json-output.html#dns-v1-format
+
+            # As of Suricata 5.0, version 2 of the eve dns output
+            # format is the default.
+            #version: 2
 
             # Enable/disable this logger. Default: enabled.
-            #enabled: no
+            #enabled: yes
 
             # Control logging of requests and responses:
             # - requests: enable logging of DNS queries
@@ -224,8 +222,8 @@ outputs:
             # Default: all
             #formats: [detailed, grouped]
 
-            # Answer types to log.
-            # Default: all
+            # Types to log, based on the query type.
+            # Default: all.
             #types: [a, aaaa, cname, mx, ns, ptr, txt]
         - tls:
             extended: yes     # enable this for extended logging information