Suricata: disable eve.stats since it's unused

Prevent the error below by disabling stats globally and in eve-log:

<Error> - [ERRCODE: SC_ERR_STATS_LOG_GENERIC(278)] - eve.stats: stats are disabled globally: set stats.enabled to true.
This commit is contained in:
Andrea De Pasquale 2020-11-25 17:07:49 +01:00
parent e2f76c44cb
commit 0010f99662

View file

@ -59,7 +59,7 @@ default-log-dir: /var/log/suricata/
# global stats configuration # global stats configuration
stats: stats:
enabled: yes enabled: no
# The interval field (in seconds) controls at what interval # The interval field (in seconds) controls at what interval
# the loggers are invoked. # the loggers are invoked.
interval: 8 interval: 8
@ -275,10 +275,10 @@ outputs:
# to an IP address is logged. # to an IP address is logged.
extended: no extended: no
- ssh - ssh
- stats: #- stats:
totals: yes # stats for all threads merged together #totals: yes # stats for all threads merged together
threads: no # per thread stats #threads: no # per thread stats
deltas: no # include delta values #deltas: no # include delta values
# bi-directional flows # bi-directional flows
#- flow #- flow
# uni-directional flows # uni-directional flows