Use cron.
On Thu, Apr 12, 2012 at 1:19 AM, Saul D <[email protected]> wrote: > From what I have been able to glean from the web, the logs that are > rotated into /var/ossec/logs/{alerts,archives,firewall} are rotated > daily but are stored until the end of time. > > Is it possible to configure an expiry period on the logs rotated by > OSSEC? (In the same way as one can configure logrotate to only retain > the logs for a certain length of time.) > > Thanks.
