mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 09:04:39 +00:00
intrusion detection: rotate eve-log every (almost) 500 MB
Should probably remove the weekly/daily rotation in favour of a setting of the value in KB on the GUI instead...
This commit is contained in:
parent
3983919a02
commit
19dfa96cc2
@ -2,7 +2,7 @@
|
||||
{% if helpers.exists('OPNsense.IDS.general') and OPNsense.IDS.general.enabled|default("0") == "1" %}
|
||||
/var/log/suricata/stats.log root:wheel 640 7 * $D0 B /var/run/suricata.pid 1
|
||||
/var/log/suricata.log root:wheel 640 7 * $D0 B /var/run/suricata.pid 1
|
||||
/var/log/suricata/eve.json root:wheel 640 {{ OPNsense.IDS.general.AlertSaveLogs|default("4") }} * ${{
|
||||
/var/log/suricata/eve.json root:wheel 640 {{ OPNsense.IDS.general.AlertSaveLogs|default("4") }} 500000 ${{
|
||||
OPNsense.IDS.general.AlertLogrotate|default("W0D23")
|
||||
}} B /var/run/suricata.pid 1
|
||||
{% endif %}
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user