allinurl / goaccess

GoAccess is a real-time web log analyzer and interactive viewer that runs in a terminal in *nix systems or through your browser.
https://goaccess.io
MIT License
17.78k stars 1.09k forks source link

Token '2024/01/12' doesn't match specifier '%h' #2639

Closed OG-N closed 2 months ago

OG-N commented 4 months ago

Sample complete log

2024/01/12 07:49:25 [error] 944#944: *57 connect() failed (111: Unknown error) while connecting to upstream, client: 102.91.69.213, server: xxx.xxx-sc.org, request: "GET /login HTTP/1.1", upstream: "http://127.0.0.1:7305/login", host: " xxx.xxx-sc.org", referrer: "https:// xxx.xxx-sc.org/login"

allinurl commented 4 months ago

What format did you use?

OG-N commented 4 months ago

goaccess accesslog --log-format='%h %^[%d:%t %^] "%r" %s %b "%R" "%u" %^' --date-format=%d/%b/%Y --time-format=%T /var/log/nginx/app-error.log.error

allinurl commented 3 months ago

It appears to be resembling an access log. Please review the custom log fields to ensure they match with your log.

allinurl commented 2 months ago

Closing this. Feel free to reopen it if needed.