crowdsec init: while loading acquisition config: no datasource enabled

I currently have only one file in my acquis.d:
source: journalctl
journalctl_filter:
- "-k"
labels:
type: syslog
source: journalctl
journalctl_filter:
- "-k"
labels:
type: syslog
but crowdsec fails with the error message:
level=fatal msg="crowdsec init: while loading acquisition config: no datasource enabled"
level=fatal msg="crowdsec init: while loading acquisition config: no datasource enabled"
what am I doing wrong?
3 Replies
CrowdSec
CrowdSec8mo ago
Important Information
This post has been marked as resolved. If this is a mistake please press the red button below or type /unresolve
© Created By WhyAydan for CrowdSec ❤️
TornaxO7
TornaxO7OP8mo ago
CrowdSec
Crowdsec init: while loading acquisition config: no datasource enabled
Ok, maybe this gives a bit more context: I’m on NixOS and it looks like that it didn’t copy my journalctl.yaml into the acquis.d directory…
CrowdSec
CrowdSec8mo ago
Resolving crowdsec init: while loading acquisition config: no datasource enabled This has now been resolved. If you think this is a mistake please run /unresolve

Did you find this page helpful?