Hey,
So I am using your Docker image alongside the very popular Nginx Proxy Manager (NPM). NPM generates individual log files for each proxy host (e.g., proxy-host-1_access.log, proxy-host-12_error.log).
My problem:
Even though I mapped the Docker volumes correctly and the files are present inside /var/log/nginx with the correct .log extension and read permissions, the dashboard falls back to the manual "Upload your NGINX log files" screen.
My guess:
It seems your log parser expects the strict standard NGINX combined or main log format. NPM uses a slightly modified custom log_format out of the box (it adds variables like upstream response times, etc.). Because the lines don't match your regex/parser perfectly, the dashboard silently discards the lines and assumes there are no valid logs.
I'm obviously not sure, and hopefully you'll be able to put it into context better.
What I would love to see:
Could you add parsing support for the default Nginx Proxy Manager log format? Alternatively, an environment variable like NGINX_ANALYTICS_LOG_FORMAT to define custom formats (like GoAccess does) would be amazing.
Best regards
Hey,
So I am using your Docker image alongside the very popular Nginx Proxy Manager (NPM). NPM generates individual log files for each proxy host (e.g., proxy-host-1_access.log, proxy-host-12_error.log).
My problem:
Even though I mapped the Docker volumes correctly and the files are present inside /var/log/nginx with the correct .log extension and read permissions, the dashboard falls back to the manual "Upload your NGINX log files" screen.
My guess:
It seems your log parser expects the strict standard NGINX combined or main log format. NPM uses a slightly modified custom log_format out of the box (it adds variables like upstream response times, etc.). Because the lines don't match your regex/parser perfectly, the dashboard silently discards the lines and assumes there are no valid logs.
I'm obviously not sure, and hopefully you'll be able to put it into context better.
What I would love to see:
Could you add parsing support for the default Nginx Proxy Manager log format? Alternatively, an environment variable like NGINX_ANALYTICS_LOG_FORMAT to define custom formats (like GoAccess does) would be amazing.
Best regards