Nextcloud Collection

This method has not been verified yet, but seems to work

We will be adapting this method on official CrowdSec hub to enable Nextcloud collection.

Run a console command in your CrowdSec container (click on its icon and then console)

Install Nextcloud collection by pasting this command :

cscli collections install crowdsecurity/nextcloud

Create the following mapping in your Nextcloud docker template :

Restart Nextcloud container.

Edit your acquis.yml file in your CrowdSec's appdata folder (appdata/crowdsec) to add these lines : (don't leave any empty spaces)

---
filenames:
 - /var/log/crowdsec/nextcloud.log
labels:
  type: Nextcloud

Restart CrowdSec container.

Use the "Useful Commands" cscli collections list and cscli metrics to check your collections and metrics, that should be ok!

Last updated