[Feature Request] Integrate Crowdsec Data (traefik-log-dashboard discussion #116)

:speech_balloon: GitHub discussion traefik-log-dashboard #116 in Feature Request, started by travelr on GitHub

To have one overall view on the cyber security status of your system combining the Traefik access log with Crowdsec would be awesome.

More Information where my thought of this feature request is going.

Lots of the failed requests are also getting picked up by Crowdsec…

Thank you


:speech_balloon: Join in here or on GitHub.

hhftechnology commented on GitHub:

you can try this on a test bench; you will love it. still in beta not ready but this whats coming out.

services:
  crowdsec-manager:
    image: hhftechnology/crowdsec-manager:dev
    container_name: crowdsec-manager
    restart: unless-stopped
    expose:
      - "8080"
    environment:
      - PORT=8080
      - ENVIRONMENT=production
      - LOG_LEVEL=info
      - LOG_FILE=/app/logs/crowdsec-manager.log
      - DOCKER_HOST=unix:///var/run/docker.sock
      - COMPOSE_FILE=/app/docker-compose.yml
      - PANGOLIN_DIR=/app
      - CONFIG_DIR=/app/config
      - DATABASE_PATH=/app/data/settings.db
      - TRAEFIK_DYNAMIC_CONFIG=/dynamic_config.yml
      - TRAEFIK_STATIC_CONFIG=/etc/traefik/traefik_config.yml
      - TRAEFIK_ACCESS_LOG=/var/log/traefik/access.log
      - TRAEFIK_ERROR_LOG=/var/log/traefik/traefik.log
      - CROWDSEC_ACQUIS_FILE=/etc/crowdsec/acquis.yaml
      - BACKUP_DIR=/app/backups
      - RETENTION_DAYS=60
      - INCLUDE_CROWDSEC=false
    volumes:
      - /var/run/docker.sock:/var/run/docker.sock
      - /root/config:/app/config
      - /root/docker-compose.yml:/app/docker-compose.yml
      - ./backups:/app/backups
      - /root/config/traefik/logs:/app/logs
      - ./data:/app/data
      - /root/config/traefik/logs:/var/log/traefik
    networks:
      - pangolin

networks:
  pangolin:
    external: true