Skip to main content

Mismatching Collection(s)

The Mismatching Collection(s) issue appears when a collection is installed but its related log files are not read. For example, crowdsecurity/nginx is installed while no nginx logs are being read.

What Triggers This Issue​

  • Trigger condition: Collection is installed, but no associated logs are read.
  • Criticality: ⚠️ High
  • Impact: Service related to the installed collection isn't protected.

Common Root Causes​

  • Missing acquisition: Collection has been installed, but related acquisition hasn't been configured.
  • Uncommon log files: The acquisition was configured as per the documentation, but the service logs somewhere else.

Diagnosis & Resolution​

For example, if you installed crowdsecurity/nginx, ensure that you added the recommended acquisition configuration. Look for existing acquisition in /etc/crowdsec/acquis.yaml or add the needed one(s):

SH
cat > /etc/crowdsec/acquis.d/nginx.yaml << EOF
filenames:
- /var/log/nginx/*.log
labels:
type: nginx
EOF
  • Check your service(s) configuration and adapt the acquisition configuration to be able to capture logs.

Getting Help​

If you've verified logs are being read and parsed but still see no alerts:

  • Share your setup details on Discourse
  • Ask on Discord with cscli metrics output
CrowdSec Docs
We use cookies

This site uses cookies to help us improve your experience. You can accept or decline below.