ModSecurity is not logging to cPanel
I installed ModSecurity via EasyApache. ModSecurity is working properly and I can see attacks stopped via the modsec_audit.log file. In cPanel though when I click on ModSecurity I do not see any attacks in the front end GUI. How can I fix this so that attacks show up in the cPanel GUI as well?
-
Hello :) Check the following log file when accessing the Mod_Security interface in WHM to see if you notice any particular error output: /usr/local/cpanel/logs/error_log
Thank you.0 -
An hourly cron job transfers the contents of the log file to the MySQL database; the database contents are then displayed in WHM. So it may take up to an hour for logged transactions to show up in WHM. If it's been over an hour and you still see nothing, please open a ticket with support. 0
Please sign in to leave a comment.
Comments
2 comments