I use a great tool fail2ban to deal with unauthorized access to web-server. Everything is actually is very easy fail2bans sees error message in apache log, takes IP and bans it, and writes it to the fail2ban.log, that IP was banned.
My question is can I customize the format of fail2ban log, I am very interested in Useragent of unauthorized host. Can I add by changing filter?