CrowdSecC
CrowdSec7mo ago
ati

auth.log seems to not get parsed

It seems my crowdsec instance is not parsing auth.log file from ubuntu linux.
I am running the crowdsec container, I have my auth.log mounted in the docker container.
Here is the metrics output:
├──────────────────────────────────┬────────────┬──────────────┬────────────────┬────────────────────────┬───────────────────┤
│ Source                           │ Lines read │ Lines parsed │ Lines unparsed │ Lines poured to bucket │ Lines whitelisted │
├──────────────────────────────────┼────────────┼──────────────┼────────────────┼────────────────────────┼───────────────────┤
│ file:/var/log/auth.log           │ 249        │ 1            │ 248            │ 4                      │ -                 │

When I run on the auth.log cscli explain, it correctly detects scenarios:
    ├ Scenarios
        ├ 🟢 crowdsecurity/ssh-bf

It also fails to parse some lines:
    └-------- parser failure 🔴

No decisions are made for the IPs that trigger scenarios.
Was this page helpful?