Page 1 of 1

Statistics

Posted: 02 Feb 2010, 21:43
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.

Posted: 07 Feb 2010, 09:57
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.

Posted: 08 Feb 2010, 04:32
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.