I keep on getting this error no matter what I do:
Parsed 1 linesproducing the following errors:
Token '02/Oct/2019' doesn't match specifier '%d'
Format Errors - Verify your log/date/time format
My .goaccessrc is:
date-format %d/%b/%Y
time-format %T
log-format %h %^ %^ [%d:%t %^] "%r" %s %b "%R" "%u" "%^" "%^"
An example log file line:
5.171.243.229 - - [02/Oct/2019:00:01:22 +0000] "GET /www.kenamobile.it/overlay_app/welcome/welcomebanner_flash5-99.html HTTP/1.1" 200 706 "-" "Mozilla/5.0 (iPhone; CPU iPhone OS 13_0 like Mac OS X) AppleWebKit/605.1.15 (KHTML, like Gecko) Mobile/15E148" "-" "qik1_62246||"
I'm guessing your locale is different than EN
and your server is logging in EN
. Please try:
LANG="en_US.UTF-8" bash -c 'goaccess access.log'
Closing this. Feel free to reopen it if needed.
I'm guessing your locale is different than
EN
and your server is logging inEN
. Please try:LANG="en_US.UTF-8" bash -c 'goaccess access.log'
It`s work for me ,thank you.
Most helpful comment
I'm guessing your locale is different than
EN
and your server is logging inEN
. Please try: