[GH-ISSUE #302] [Feature Request] Add goaccess program to the container, and auto implement the web facing page for proxy host logs. #265

Closed
opened 2026-02-26 06:31:50 +03:00 by kerem · 5 comments
Owner

Originally created by @stk21 on GitHub (Feb 22, 2020).
Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/302

No problem or issue. Added functionality.

Add goaccess https://goaccess.io/ to the container and auto implement proxy host logs monitoring.

Originally created by @stk21 on GitHub (Feb 22, 2020). Original GitHub issue: https://github.com/NginxProxyManager/nginx-proxy-manager/issues/302 No problem or issue. Added functionality. Add goaccess https://goaccess.io/ to the container and auto implement proxy host logs monitoring.
kerem 2026-02-26 06:31:50 +03:00
Author
Owner

@jc21 commented on GitHub (Feb 23, 2020):

Thanks for the suggestion. The stance on these addon services, which can be opinionated, is that they should be additional docker containers that would use the logs from the NPM container. Having this built in will create overhead for those running NPM on their Pi's for example. In addition, some people might want an ELK stack, Grafana, influxDB or online logging service. There are existing docker images ready to handle most of those, so it doesn't make much sense to bake it in here.

If you require the log format or output location to be configurable for use with Gaccess, that's definitely an option.

<!-- gh-comment-id:590128012 --> @jc21 commented on GitHub (Feb 23, 2020): Thanks for the suggestion. The stance on these addon services, which can be opinionated, is that they should be additional docker containers that would use the logs from the NPM container. Having this built in will create overhead for those running NPM on their Pi's for example. In addition, some people might want an ELK stack, Grafana, influxDB or online logging service. There are existing docker images ready to handle most of those, so it doesn't make much sense to bake it in here. If you require the log format or output location to be configurable for use with Gaccess, that's definitely an option.
Author
Owner

@NotExpectedYet commented on GitHub (Mar 9, 2020):

It already works with goaccess if you change goaccess configs somewhat.
date-format %d/%b/%Y
time-format %H:%M:%S
log-format [%d:t %^] - %^ %^ - %m %R %U "%q" [Client %h] [%^] [%^] [Sent-to %^] "%u" "-"

log-file /opt/log/proxy_host-1.log
log-file /opt/log/proxy_host-2.log
log-file /opt/log/proxy_host-3.log
log-file /opt/log/proxy_host-4.log

You can add multiple log files like this.

Then mount your NPM logs folder to the go access docker if that's how you set it up to "/opt/log"

<!-- gh-comment-id:596409750 --> @NotExpectedYet commented on GitHub (Mar 9, 2020): It already works with goaccess if you change goaccess configs somewhat. date-format %d/%b/%Y time-format %H:%M:%S log-format [%d:t %^] - %^ %^ - %m %R %U "%q" [Client %h] [%^] [%^] [Sent-to %^] "%u" "-" log-file /opt/log/proxy_host-1.log log-file /opt/log/proxy_host-2.log log-file /opt/log/proxy_host-3.log log-file /opt/log/proxy_host-4.log You can add multiple log files like this. Then mount your NPM logs folder to the go access docker if that's how you set it up to "/opt/log"
Author
Owner

@jc21 commented on GitHub (Mar 9, 2020):

Nice work :)

<!-- gh-comment-id:596808908 --> @jc21 commented on GitHub (Mar 9, 2020): Nice work :)
Author
Owner

@github-actions[bot] commented on GitHub (Mar 31, 2024):

Issue is now considered stale. If you want to keep it open, please comment 👍

<!-- gh-comment-id:2028525686 --> @github-actions[bot] commented on GitHub (Mar 31, 2024): Issue is now considered stale. If you want to keep it open, please comment :+1:
Author
Owner

@github-actions[bot] commented on GitHub (May 10, 2025):

Issue was closed due to inactivity.

<!-- gh-comment-id:2868225212 --> @github-actions[bot] commented on GitHub (May 10, 2025): Issue was closed due to inactivity.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/nginx-proxy-manager-NginxProxyManager#265
No description provided.