Answer the question
In order to leave comments, you need to log in
How to choose the right log-format in GoAccess?
There are several log files on the web server with Nginx:
- main (access.log) , example entry:
103.141.104.10 - - [16/Sep/2020:14:12:28 +0000] "GET /cgi-bin/ blablabla2 HTTP/1.0" 404 146 "-" "-"|
Log format in Goaccess config:
log-format %h %^[%d:%t %^] "%r" %s %b "%R" "%u" The
log is read, everything is fine.
- additional log for site.ru site, example entry:
188.239.222.111 - HIT [16/Sep/2020:20:28:16 +0000] site.ru "GET / HTTP/2.0" 200 12334 0.000 "-" "Mozilla /5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/85.0.4183.102 Safari/
537.36
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question