CrowdSecC
CrowdSecโ€ข7mo ago
PopeRigby

Caddy not showing up in acquisition metrics

I have the following acquisition for Caddy:
filenames:
- /var/log/caddy-crowdsec/*.log
labels:
  type: caddy


I've mounted the logs at this location because I can't change the permissions of the original directory. My problem is that it doesn't show up in the acquisition metrics. When I run...

sudo tail -n 10 /var/log/caddy-crowdsec/access-auth.haddock.cc.log | cs explain -f- --type caddy -v


...it gives me this output: https://gist.github.com/poperigby/fcf207a3ce03d51f3777b800358878bc
Gist
GitHub Gist: instantly share code, notes, and snippets.
Was this page helpful?