-
-
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
Can't display some information in the report #2510
Comments
@allinurl need your help :) |
That is a great question. To answer it, you will need to configure your web server to log a few more fields. For example, you could change your apache2.conf file to look like this:
Then ensure to restart your web server. Then you can have goaccess use:
You will need to download the country or city databases and the ASN as well and add it to your config file:
You can download the mmdb files from https://db-ip.com/db/lite.php Let me know if that helps. |
Also, make sure to pass |
and |
Many thanks @allinurl |
Glad that helped! Closing this. Feel free to reopen it if needed. |
Hello,
Could you please help to understand where is the issue?
For some reason, I don't see information about User Agent inside the column "Visitor Hostnames and IPs" which will be really helpful.
For example, the column on your website looks like this (https://rt.goaccess.io/?1410179475#browsers):
My report displays only IPs:
I have a feeling that issue with the format or something like this.
The format which I'm using:
log-format %v:%^ %h [-] - - [%d:%t %z] %D "%r" %s %b %^ "%R %u"
The Apache access log looks like this:
website.com:443 11.11.111.192 [-] - - [01/May/2023:00:00:25 +0100] "GET /favicon.ico HTTP/1.1" 404 21660 "https://website.com/download/pdf/323461089.pdf" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.2 Safari/605.1.15"
I'm using this command:
LC_TIME="en_US.UTF-8" LANG="en_EN.UTF-8" bash -c "goaccess test.log " -a > new_report.html
Many thanks!
The text was updated successfully, but these errors were encountered: