Hello All,

I want to use Fail2ban to monitor for certain things in my Apache logs but I don't know how to get Fail2ban to only monitor the current log file.

Here is my naming scheme and rotation entry:

CustomLog "|/usr/sbin/rotatelogs /srv/www/bethyeshurun.org/Logs/access.%Y-%m-%d-%H_%M_%S 5M" vcommon

As you can see I'm rotating logs,

I've read where others use Fail2ban to monitor their Apache logs so I'm curious what the "best proactice" is for log naming to faciltate that? 

NOTE: I host many sites on one server so there are multiple logs to analyze. My understanding is that I can use wildcards with Fail2ban's log file setting.

Thanks in advance,