/nsm contains NSM data output from processes (snort alerts, full
packet capture, etc.), but /var/log/nsm/ contains logs about the
processes (failure to start, operational data, etc.). The logs in
/var/log/nsm/ should get rotated daily and a maximum of 10 should be
kept. This is performed by the /etc/cron.d/sensor-newday cronjob
which ultimately calls the process_restart() function in
/usr/lib/nsmnow/lib-nsm-common-utils.
What is taking up the majority of that 20GB?
Thanks,
Doug
On Wed, Feb 6, 2013 at 5:26 PM, Clement Chen <
plutoc...@gmail.com> wrote:
> Thanks. But I thought the hourly cron job is to delete old logs under /nsm, not /var/log/nsm.
>
> Not sure what the logs under /var/log/nsm are for.
--
Doug Burks
http://securityonion.blogspot.com