Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Crowdsec not parsing docker logs from other containers

Featured Replies

Hi there,

I do have a problem with a running crowdsec docker container. I got everything set up except the ability to parse the docker logs. I create a new variable in docker for the docker.sock of Unraid.

grafik.png

I manually added in /mnt/user/appdata/crowdsec/acquis.yaml and modified the content to parse docker logs:

Quote

filenames:

- /var/log/nginx/*.log

- ./tests/nginx/nginx.log

#this is not a syslog log, indicate which kind of logs it is

labels:

type: nginx

---

filenames:

- /var/log/auth.log

- /var/log/syslog

labels:

type: syslog

---

filename: /var/log/apache2/*.log

labels:

type: apache2

---

source: docker

container_name:

- Nextcloud

- immich

- paperless-ngx

- vaultwarden

labels:

type: log_type

When I now run cscli metrics from within the crowdsec container it will show:

grafik.png

So it looks like that the crowdsec container can't parse the other docker containers but how can I achive that crowdsec can parse the other docker container logs?

Regards Shorty_

Edited by shorty_

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.