cscli parsers install nicoh88/proxmox-backup-auth-logsParses authentication logs from Proxmox Backup Server (PBS).
This parser expects logs with the label type: proxmox-backup-auth.
By default, PBS logs authentication events to /var/log/proxmox-backup/api/auth.log.
Example acquis.yaml:
1filenames:2 - /var/log/proxmox-backup/api/auth.log3labels:4 type: proxmox-backup-auth
1cscli explain --type proxmox-backup-auth --log "2026-02-25T11:07:24+01:00: successful auth for user 'root@pam'"2line: 2026-02-25T11:07:24+01:00: successful auth for user 'root@pam'3 ├ s00-raw4 | ├ 🔴 crowdsecurity/syslog-logs5 | └ 🟢 crowdsecurity/non-syslog (+5 ~8)6 ├ s01-parse7 | ├ 🔴 crowdsecurity/apache2-logs8 | ├ 🔴 crowdsecurity/mysql-logs9 | ├ 🔴 crowdsecurity/nginx-logs10 | ├ 🔴 crowdsecurity/postfix-logs11 | ├ 🔴 crowdsecurity/postscreen-logs12 | ├ 🔴 proftpd-logs13 | └ 🟢 nicoh88/proxmox-backup-auth-logs (+6 ~2)14 ├ s02-enrich15 | ├ 🟢 crowdsecurity/dateparse-enrich (+2 ~2)16 | ├ 🔴 crowdsecurity/geoip-enrich17 | ├ 🔴 crowdsecurity/http-logs18 | ├ 🟢 crowdsecurity/public-dns-allowlist (unchanged)19 | └ 🔴 crowdsecurity/whitelists20 ├-------- parser success 🟢21 ├ Scenarios
1cscli explain --type proxmox-backup-auth --log "2026-02-25T11:07:18+01:00: authentication failure; rhost=[::ffff:31.54.38.23]:47414 user=2rootasdasdasd@pbs msg=user account disabled or expired."3line: 2026-02-25T11:07:18+01:00: authentication failure; rhost=[::ffff:31.54.38.23]:47414 user=rootasdasdasd@pbs msg=user account disabled or expired.4 ├ s00-raw5 | ├ 🔴 crowdsecurity/syslog-logs6 | └ 🟢 crowdsecurity/non-syslog (+5 ~8)7 ├ s01-parse8 | ├ 🔴 crowdsecurity/apache2-logs9 | ├ 🔴 crowdsecurity/mysql-logs10 | ├ 🔴 crowdsecurity/nginx-logs11 | ├ 🔴 crowdsecurity/postfix-logs12 | ├ 🔴 crowdsecurity/postscreen-logs13 | ├ 🔴 proftpd-logs14 | └ 🟢 nicoh88/proxmox-backup-auth-logs (+10 ~2)15 ├ s02-enrich16 | ├ 🟢 crowdsecurity/dateparse-enrich (+2 ~2)17 | ├ 🟢 crowdsecurity/geoip-enrich (+13)18 | ├ 🔴 crowdsecurity/http-logs19 | ├ 🟢 crowdsecurity/public-dns-allowlist (unchanged)20 | └ 🔴 crowdsecurity/whitelists21 ├-------- parser success 🟢22 ├ Scenarios23 └ 🟢 nicoh88/proxmox-backup-auth-bf
1cscli explain --type proxmox-backup-auth --log "2026-02-25T11:07:33+01:00: authentication failure; rhost=[::ffff:31.54.38.23]:41322 user=2root@pam msg=authentication error - AUTH_ERR (7)"3line: 2026-02-25T11:07:33+01:00: authentication failure; rhost=[::ffff:31.54.38.23]:41322 user=root@pam msg=authentication error - AUTH_ERR (7)4 ├ s00-raw5 | ├ 🔴 crowdsecurity/syslog-logs6 | └ 🟢 crowdsecurity/non-syslog (+5 ~8)7 ├ s01-parse8 | ├ 🔴 crowdsecurity/apache2-logs9 | ├ 🔴 crowdsecurity/mysql-logs10 | ├ 🔴 crowdsecurity/nginx-logs11 | ├ 🔴 crowdsecurity/postfix-logs12 | ├ 🔴 crowdsecurity/postscreen-logs13 | ├ 🔴 proftpd-logs14 | └ 🟢 nicoh88/proxmox-backup-auth-logs (+10 ~2)15 ├ s02-enrich16 | ├ 🟢 crowdsecurity/dateparse-enrich (+2 ~2)17 | ├ 🟢 crowdsecurity/geoip-enrich (+13)18 | ├ 🔴 crowdsecurity/http-logs19 | ├ 🟢 crowdsecurity/public-dns-allowlist (unchanged)20 | └ 🔴 crowdsecurity/whitelists21 ├-------- parser success 🟢22 ├ Scenarios23 └ 🟢 nicoh88/proxmox-backup-auth-bf
1cscli explain --type proxmox-backup-auth --log "2026-02-25T11:07:25+01:00: authentication failure; rhost=[::ffff:31.54.38.23]:41318 user=root@pbs msg=user account disabled or expired."2line: 2026-02-25T11:07:25+01:00: authentication failure; rhost=[::ffff:31.54.38.23]:41318 user=root@pbs msg=user account disabled or expired.3 ├ s00-raw4 | ├ 🔴 crowdsecurity/syslog-logs5 | └ 🟢 crowdsecurity/non-syslog (+5 ~8)6 ├ s01-parse7 | ├ 🔴 crowdsecurity/apache2-logs8 | ├ 🔴 crowdsecurity/mysql-logs9 | ├ 🔴 crowdsecurity/nginx-logs10 | ├ 🔴 crowdsecurity/postfix-logs11 | ├ 🔴 crowdsecurity/postscreen-logs12 | ├ 🔴 proftpd-logs13 | └ 🟢 nicoh88/proxmox-backup-auth-logs (+10 ~2)14 ├ s02-enrich15 | ├ 🟢 crowdsecurity/dateparse-enrich (+2 ~2)16 | ├ 🟢 crowdsecurity/geoip-enrich (+13)17 | ├ 🔴 crowdsecurity/http-logs18 | ├ 🟢 crowdsecurity/public-dns-allowlist (unchanged)19 | └ 🔴 crowdsecurity/whitelists20 ├-------- parser success 🟢21 ├ Scenarios22 └ 🟢 nicoh88/proxmox-backup-auth-bf
1name: nicoh88/proxmox-backup-auth-logs2description: "Parse Proxmox Backup Server API auth.log for bruteforce attempts"34# passt zu non-syslog-Ausgabe: evt.Parsed.program = proxmox-backup-auth5filter: "evt.Parsed.program == 'proxmox-backup-auth'"67onsuccess: next_stage89pattern_syntax:10 PBS_AUTH_FAIL: '%{TIMESTAMP_ISO8601:ts}: authentication failure; rhost=\[%{IP:client_ip}\]:%{NUMBER:client_port} user=%{USERNAME:source_user}@%{WORD:realm} msg=%{GREEDYDATA:fail_reason}'11 PBS_AUTH_OK: '%{TIMESTAMP_ISO8601:ts}: successful auth for user ''%{USERNAME:source_user}@%{WORD:realm}'''1213nodes:14 - grok:15 name: PBS_AUTH_FAIL16 apply_on: message17 statics:18 - target: evt.StrTime19 expression: evt.Parsed.ts20 - meta: log_type21 value: pbs_failed-auth22 - meta: source_user23 expression: evt.Parsed.source_user24 - meta: service25 value: proxmox-backup-api26 - meta: source_ip27 expression: evt.Parsed.client_ip2829 - grok:30 name: PBS_AUTH_OK31 apply_on: message32 statics:33 - target: evt.StrTime34 expression: evt.Parsed.ts35 - meta: log_type36 value: pbs_success-auth37 - meta: source_user38 expression: evt.Parsed.source_user39 - meta: service40 value: proxmox-backup-api4142