summaryrefslogtreecommitdiff
path: root/data/templates/ids/suricata_logrotate.j2
diff options
context:
space:
mode:
Diffstat (limited to 'data/templates/ids/suricata_logrotate.j2')
-rw-r--r--data/templates/ids/suricata_logrotate.j217
1 files changed, 0 insertions, 17 deletions
diff --git a/data/templates/ids/suricata_logrotate.j2 b/data/templates/ids/suricata_logrotate.j2
deleted file mode 100644
index 62773fc68..000000000
--- a/data/templates/ids/suricata_logrotate.j2
+++ /dev/null
@@ -1,17 +0,0 @@
-{% for filename in [(log.eve.filename | default("eve.json"))] %}
-{{ filename if filename.startswith("/") else ("/var/log/suricata/" + filename) }}
-{% endfor %}{
- weekly
- dateext
- dateformat _%Y-%m-%d_%H-%M-%S
- maxsize 10M
- rotate 10
- missingok
- nocompress
- nocreate
- nomail
- sharedscripts
- postrotate
- /bin/kill -HUP `cat /run/suricata/suricata.pid 2>/dev/null` 2>/dev/null || true
- endscript
-}