(ids) add suricata base log to rotate

This commit is contained in:
Ad Schellevis 2015-06-30 11:14:51 +02:00
parent 128756bd1c
commit 79d01d712b

View File

@ -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 %}