Statistics

Post Reply
aegis
Junior Member
Posts: 12
Joined: 31 Jan 2010, 00:13

Statistics

Post by aegis »

This is a long term one perhaps...

I was working through mod_security logs and thinking 'I wonder which sites and which rules are getting the most attention?'.

So, how about some kind of statistics tracking for sites and rules. It'd help with security if we knew which sites get hit a lot and which rules are being triggered.
chirpy
Moderator
Posts: 3537
Joined: 09 Dec 2006, 18:13

Post by chirpy »

It's a great idea, but really falls outside of the scope of this addon which is primarily for whitelisting ModSecurity rule ID's.
Sergio
Junior Member
Posts: 1685
Joined: 12 Dec 2006, 14:56

Post by Sergio »

You can do it yourself, it is not that hard.

Create a php script that access your MODSEC database in your server and you can check all the info that you want, that is what we did.

And remember that the MODSEC database is deleted everytime you run EASYAPACHE and updates anything in there, so, if you are going to have this type of stats it is a good idea to backup your database before any modification with EASYAPACHE.

Sergio.
Post Reply