CrowdSecC
CrowdSecβ€’7d ago
Peronia

Vaultwarden logs can't be parsed

Hi, I`m new to Crowdsec. I have installed a lapi with a firewall bouncer. Now I want to connect my first machine to it, parsing the Vaultwarden logs.
So far it is connected and I installed the collection for it: https://app.crowdsec.net/hub/author/Dominic-Wagner/collections/vaultwarden
But when I have a wrong login, it seems to have problems with the log line. I use journalctl and the same setting as provided in the link:

---
source: journalctl
journalctl_filter:
  • "SYSLOG_IDENTIFER=Vaultwarden"
    labels:
    type: Vaultwarden
But I can't see any parsed logs: cscli metrics output nothing. In my journalctl I see this: Dez 10 09:08:39 host vaultwarden[141613]: [2025-12-10 09:08:39.285+0100][vaultwarden::api::identity][ERROR] Username or password is incorrect. Try again. IP: 192.168.230.166. Username: rr@gg.de.
So the logging from Vaultwarden is correct (I also added the %z in the options). I found this issue: https://github.com/crowdsecurity/hub/issues/988 and when I compre my string and that one metioned in the issue, it looks the same.

I don't find the failure in there. Can you help me to identify it?
Manage collections, configurations, remediation components, and AppSec rules with CrowdSec Hub. Streamline security with tools and integrations for enhanced protection.
GitHub
Description Dominic-Wagner/vaultwarden parser doesn't handle time zones. The pattern for parsing the timestamp [%{DATE_YMD:date} %{TIME:time}] assumes that the logs will be written in UTC. But...
Was this page helpful?