-
-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Description
Hello,
I keep on getting this error no matter what I do:
Token '16/Oct/2019' doesn't match specifier '%d'
The command I am using is:
goaccess test.nginx.com.log -o ../html/report.html --real-time-html --time-format='%H:%M:%S' --date-format='%d/%b/%Y' --log-format=COMMON
I tried other methods and it was the same error.example:
goaccess test.nginx.com.log -o ../html/report.html --real-time-html --time-format='%H:%M:%S' --date-format='%d/%b/%Y' --log-format='%h %^[%d:%t %^] "%r" %s %b "%R" "%u"'
An example log file line:
127.0.0.1 - - [16/Oct/2019:10:43:04 +0800] "GET /report.html HTTP/1.1" 304 0 "-" "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/77.0.3865.120 Safari/537.36" "-"
In addition,the output of date my terminal is :
2019年10月16日 星期三 11时04分36秒 CST
Thanks in advance ! :)