*filter.d/custom-postgresql.conf
[Definition]
failregex = ^<HOST>.+FATAL: password authentication failed for user.+$
^<HOST>.+FATAL: no pg_hba.conf entry for host .+$
ignoreregex = duration:#
jail.local:
[custom-postgresql]
port =5432
logtimezone = UTC+0200
logpath = /var/log/postgresql/postgresql-13-main.log
maxretry = 3
enabled = true