recidive: test case for journal log-format

pull/3693/head
Sergey G. Brester 9 months ago committed by GitHub
parent dd3c78ecab
commit f12917c491
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -17,3 +17,8 @@ Sep 16 00:44:55 spaceman fail2ban.actions: NOTICE [jail] Ban 10.0.0.7
Jan 16 17:11:25 testorg fail2ban.actions[6605]: NOTICE [postfix-auth] Ban 192.0.2.1
# failJSON: { "time": "2005-03-05T08:41:28", "match": true , "host": "192.0.2.2", "desc": "SYSLOG / systemd-journal with daemon-name" }
Mar 05 08:41:28 test.org fail2ban-server[11524]: fail2ban.actions [11524]: NOTICE [postfix-auth] Ban 192.0.2.2
# filterOptions: {"logtype": "journal"}
# failJSON: { "match": true , "host": "192.0.2.3", "desc": "systemd-journal short variant, gh-3693" }
host fail2ban[15699]: [postfix-sasl] Ban 192.0.2.3

Loading…
Cancel
Save