CrowdSec agent: runtime errors when processing Traefik logs

I'm facing multiple warnings in the crowdsec-agent logs when trying to process events from Traefik: go Copiar Editar failed to run RunTimeValue : interface conversion: interface {} is nil, not string (1:1) | Split(evt.Unmarshaled.traefik.RequestProtocol, '/')[...] failed to run RunTimeValue : reflect: call of reflect.Value.Type on zero Value (1:1) | int(evt.Unmarshaled.traefik.DownstreamStatus) These seem to be related to nil values in fields like ClientAddr, RequestProtocol, Duration, etc. I've checked the acquis.yaml, and it's pointing to the correct Traefik log path (but the agent still warns about no compatible logs). Has anyone encountered this before? Could this be an issue with the crowdsecurity/traefik parser? Do I need to adapt the logs or the expected structure somehow? Thanks!
1 Reply
CrowdSec
CrowdSec2mo ago
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command /resolve or press the green resolve button below.
Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
© Created By WhyAydan for CrowdSec ❤️

Did you find this page helpful?