[Snort-users] Finding alerts taking up the most database space

sekure sekure at ...11827...
Fri Sep 10 09:44:02 EDT 2004

Well you can do something like:
select count(signature) as num, signature 
from event 
group by signature 
order by num desc 
limit 10;

This should give you the top 10 alerts in the event table.  Keep in
mind though, that those may not necessarily be the ones that take up
the most disk space, since they may have a completely empty "data"
record associated with them.

Then you can look up the signature in the signature table.

Is this what you were looking for?

----- Original Message -----
From: McCash, John <john.mccash at ...10979...>
Date: Fri, 10 Sep 2004 11:20:47 -0500
Subject: [Snort-users] Finding alerts taking up the most database space
To: snort-users at lists.sourceforge.net


               I currently am running snort and acid with mysql, and
my database size is getting up around 6G. The data table, data.MYD
alone is about 3.3G. As you may imagine, my db performance is lousy.
Does anyone have an easy way of determining which alerts are taking up
the greatest amount of db space, so that I can selectively prune those

                              Thanks in advance

                                             John McCash
This message is for the designated recipient only and may
contain privileged, proprietary, or otherwise private information. 
If you have received it in error, please notify the sender
immediately and delete the original. Any unauthorized use of
this email is prohibited.

More information about the Snort-users mailing list