Normally running the command would go like this:
$ fail2ban-regex /var/log/ningx/access.log \ /etc/fail2ban/filter.d/nginx-noscript.conf -v
However, I have multiple files that I'd like to parse with the regex test. They have names like
access.log.111.gz and so on.
So I tried to use zcat and pipe it like this:
$ fail2ban-regex | zcat /var/log/ningx/access.log* \ /etc/fail2ban/filter.d/nginx-noscript.conf -v`
but it's not working. How can I pipe it the right way?