Source: suricata
Version: 2.0.4-1
Severity: wishlist

Dear Maintainer,

according to
<https://redmine.openinfosecfoundation.org/projects/suricata/wiki/Log_Rotation>,
suricata has gained support for rotating log files around version 2.0.2.
Please add logrotate configuration to the package.

I use something like this:

/var/log/suricata/*.log
/var/log/suricata/*.json
{
    rotate 14
    missingok
    compress
    create 0644 snort snort
    sharedscripts
    postrotate
        /bin/kill -HUP $(cat /var/run/suricata.pid)
    endscript
}

Cheers,
-Hilko


-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to