Linux Hint published a tutorial about how to check Fail2ban logs.
How to Check Fail2banLogs?
Log files keep track of all events by recording them. On the other hand, Fail2ban is used to generate log files that record all events for connection attempts. If you wish to view the log file, you can do so using fail2ban logs; this article to learn the steps how.