-
-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Multiple logs being generated by NGINX proxy #2776
Comments
You can grab all the access logs and pipe them straight into GoAccess, e.g.,
or
|
The issue is that as I create more hosts/proxies the number of logs increases. Is there a way to honor any files with the dot log extension in a folder? |
If I understand correctly, you could try, e.g.:
|
How/where does this get put in the config file as I'm running this as a Docker and need this in the config. |
https://github.com/allinurl/goaccess?tab=readme-ov-file#docker |
I don't think we're on the same page here. I'm using Portainer to maintain a stack where this is the config:
I'm attempting to understand how to modify the config file in order to allow this to work within Portainer and not call the docker via CLI. |
I'm not very familiar with Portainer, but it seems you could try the following:
|
I've got a different log file being generated by each config of NGINX proxy as such:
access.log* proxy-host-6_error.log*
default-host_access.log* proxy-host-7_access.log*
default-host_error.log* proxy-host-7_error.log*
fallback_access.log* proxy-host-8_access.log*
fallback_error.log* proxy-host-8_error.log*
proxy-host-3_access.log* redirection-host-1_access.log*
proxy-host-3_error.log* redirection-host-1_error.log*
Is there a way to deal with this in goaccess or does the NGINX config need to be modified somehow?
The text was updated successfully, but these errors were encountered: