From 79d01d712b3fda2a650f0596e0f9bada6a34afdc Mon Sep 17 00:00:00 2001 From: Ad Schellevis Date: Tue, 30 Jun 2015 11:14:51 +0200 Subject: [PATCH] (ids) add suricata base log to rotate --- src/opnsense/service/templates/OPNsense/IDS/newsyslog.conf | 1 + 1 file changed, 1 insertion(+) diff --git a/src/opnsense/service/templates/OPNsense/IDS/newsyslog.conf b/src/opnsense/service/templates/OPNsense/IDS/newsyslog.conf index 226bd5018..df9123f70 100644 --- a/src/opnsense/service/templates/OPNsense/IDS/newsyslog.conf +++ b/src/opnsense/service/templates/OPNsense/IDS/newsyslog.conf @@ -2,5 +2,6 @@ {% if helpers.exists('OPNsense.IDS.general') and OPNsense.IDS.general.enabled|default("0") == "1"%} {% set intf = helpers.getNodeByTag('interfaces.'+OPNsense.IDS.general.interfaces.split(',')[0]).if %} /var/log/suricata/stats.log root:wheel 640 7 100 $D0 B /var/run/suricata_{{ intf }}.pid 1 +/var/log/suricata.log root:wheel 640 7 100 $D0 B /var/run/suricata_{{ intf }}.pid 1 /var/log/suricata/eve.json root:wheel 640 4 100 $W0D23 B /var/run/suricata_{{ intf }}.pid 1 {% endif %}