sguil-db-purge is scheduled to run every day at 5:01 AM. It will do the following:
- stop sguild
- purge old events from the database
- repair the remaining MySQL tables
- start sguild
The daily cron job logs its output to /var/log/nsm/sguil-db-purge.log.
Since the purge script will be making changes to the database, it is recommended to backup your MySQL database and/or test the purge script on a non-production system before deploying to production.
Existing Security Onion users can perform an in-place upgrade using the following command (if you're behind a proxy, remember to set your proxy variables as described in the FAQ):
sudo -i "curl -L http://sourceforge.net/projects/security-onion/files/security-onion-upgrade.sh > ~/security-onion-upgrade.sh && bash ~/security-onion-upgrade.sh"Screenshots