suricata: Disable stats.log

Message ID 20190421072645.3868-1-stefan.schantl@ipfire.org
State Accepted
Commit 6e7c8a3303c60aee8a779f86d836cd0afc2b561b
Headers
Series suricata: Disable stats.log |

Commit Message

Stefan Schantl April 21, 2019, 5:26 p.m. UTC
  This log is mainly needed for debugging the IPS. It writes some stats
every couple of seconds and will create some load on SD cards and other
cheap storage that we do not need.

Fixes #12056.

Signed-off-by: Stefan Schantl <stefan.schantl@ipfire.org>
---
 config/suricata/suricata.yaml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Patch

diff --git a/config/suricata/suricata.yaml b/config/suricata/suricata.yaml
index e7e27c731..cb4f33865 100644
--- a/config/suricata/suricata.yaml
+++ b/config/suricata/suricata.yaml
@@ -82,7 +82,7 @@  outputs:
 
   # Stats.log contains data from various counters of the suricata engine.
   - stats:
-      enabled: yes
+      enabled: no
       filename: stats.log
       append: no       # append to file (yes) or overwrite it (no)
       totals: yes       # stats for all threads merged together