# NativeDefence: Suricata logs on /data (rotated hourly-checked, see logrotate.timer drop-in)
/data/nsm/suricata/*.log /data/nsm/suricata/*.json {
    daily
    maxsize 1G
    rotate 30
    maxage 30
    missingok
    notifempty
    compress
    delaycompress
    sharedscripts
    postrotate
        systemctl kill --signal=HUP --kill-whom=main suricata.service >/dev/null 2>&1 || true
    endscript
}
