mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2026-04-26 01:45:54 +03:00
[GH-ISSUE #302] [Feature Request] Add goaccess program to the container, and auto implement the web facing page for proxy host logs. #265
Labels
No labels
awaiting feedback
bug
cannot reproduce
dns provider request
duplicate
enhancement
enhancement
enhancement
good first issue
help wanted
invalid
need more info
no certbot plugin available
product-support
pull-request
question
stale
troll
upstream issue
v2
v2
v2
v3
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/nginx-proxy-manager-NginxProxyManager#265
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
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.
@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.
@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"
@jc21 commented on GitHub (Mar 9, 2020):
Nice work :)
@github-actions[bot] commented on GitHub (Mar 31, 2024):
Issue is now considered stale. If you want to keep it open, please comment 👍
@github-actions[bot] commented on GitHub (May 10, 2025):
Issue was closed due to inactivity.