Skip to content

Commit

Permalink
enhancement: Update previous auth worker line also
Browse files Browse the repository at this point in the history
  • Loading branch information
LaurenceJJones committed Dec 31, 2024
1 parent 07016e4 commit 03fb6a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion parsers/s01-parse/crowdsecurity/dovecot-logs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ nodes:
pattern: "%{WORD:protocol}-login: %{DATA:dovecot_login_message}: user=<%{DATA:dovecot_user}>.*, rip=%{IP:dovecot_remote_ip}, lip=%{IP:dovecot_local_ip}"
apply_on: message
- grok:
pattern: "auth-worker\\(%{INT}\\): %{WORD:dovecot_user_backend}\\(%{DATA:dovecot_user},%{IP:dovecot_remote_ip},?%{DATA}\\): (%{DATA}: )?%{DATA:dovecot_login_message}$"
pattern: "auth-worker\\(%{INT}\\): %{WORD:dovecot_user_backend}\\(%{DATA:dovecot_user},%{IP:dovecot_remote_ip},?%{DATA}\\): (%{AUTH_WORKER_FUNC} failed: )?%{DATA:dovecot_login_message}$"
apply_on: message
- grok:
pattern: "auth-worker\\(%{INT}\\): (Info: )?conn unix:auth-worker \\(pid=%{INT},uid=%{INT}\\): auth-worker<%{INT}>: %{WORD:dovecot_user_backend}\\(%{DATA:dovecot_user},%{IP:dovecot_remote_ip},?%{DATA}\\): (%{AUTH_WORKER_FUNC:auth_worker_func} failed: )?%{DATA:dovecot_login_message}$"
Expand Down

0 comments on commit 03fb6a0

Please sign in to comment.