diff --git a/config/filter.d/sshd.conf b/config/filter.d/sshd.conf index 7b847fbd..42806e20 100644 --- a/config/filter.d/sshd.conf +++ b/config/filter.d/sshd.conf @@ -39,5 +39,5 @@ timepattern = %%b %%d %%H:%%M:%%S # Notes.: regex to match the password failures messages in the logfile. # Values: TEXT Default: Authentication failure|Failed password|Invalid user # -failregex = Authentication failure|Failed password|Invalid user +failregex = : (?:(?:Authentication failure|Failed [-/\w+]+) for(?: [iI](?:llegal|nvalid) user)?|[Ii](?:llegal|nvalid) user|ROOT LOGIN REFUSED) .*(?: from|FROM) (?:::f{4,6}:)?(?P\S*)