Figured as much. I’m not sure about the performance impact, so for now I’ll just leave it at keeping everything.
I’ve looked at the code and was able to find the place where Logs are parsed, so I could just use that if I need to reduce the amount of stuff that’s being written into the logs if needed in the future
I was able to setup the Log Dashboard but the Client IP is always the cloudflared internal container because I use Zero-Trust Network-Tunnel. Is there any way to use the official CF-Connecting-IP Header provided by Cloudflare?
This should solve the issue. It needs to be in the first middleware place. This plugin overwrites X-Real-IP and X-Forwarded-For headers with CF-Connecting-IP. Would be great if this is Plugin Hub.
Never mind, this solves nothing, since Traefik logs before applying the request to the middleware.
However, you can set X-Real-IP and X-Forwarded-For to the Client IP with a Transformer Rule in Cloudflare. This sets the Client Host to the correct IP but the Log Dashboard only cares about the Client IP. It would require an option to use Client Host instead of Client IP.
Hi, I’ve updated to version 2 and it’s working correctly.
I have two questions:
1 - Is there a way to set a dark theme?
2 - When I open the URL https://dashlog.mydomain.tld, I always have to click the “View Dashboard” button, which takes me to the URL https://dashlog.mydomain.tld/dashboard. My question is, is there a way to go directly to the Dashboard?
Any ideas on why setting everything up nukes my whole Pangolin + Crowdsec + Traefik + Middleware Manager setup. Containers are running but can’t access them.