Unable to prase apache combined log correctly #2939
Unanswered
cwting1112
asked this question in
Q&A
Replies: 1 comment 1 reply
|
You should be able to run, e.g.,: Let me know if that helps! |
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
goaccess 1.10.2
apache 2.24
LogFormat "%h %l %u %t "%r" %>s %b "%{Referer}i" "%{User-Agent}i"" combined
logs generated
the syntax i used to generate report
goaccess /var/log/200-www.showgirl.com.tw.1777593600 --log-format='%h %l %u [%x] "%r" %s %b "%R" "%u"' --datetime-format='%d/%b/%Y:%H:%M:%S %z'
some error returned
==86794== GoAccess - version 1.10.2 - Apr 25 2026 17:00:04
==86794== Config file: /usr/local/etc/goaccess/goaccess.conf
==86794== https://goaccess.io - hello@goaccess.io
==86794== Released under the MIT License.
==86794==
==86794== FILE: /var/log/200-www.showgirl.com.tw.1777593600
==86794== Parsed 10 lines producing the following errors:
==86794==
==86794== Token '01/May/2026:08:00:01 +0800' doesn't match specifier '%x'
==86794== Token '01/May/2026:08:00:07 +0800' doesn't match specifier '%x'
==86794== Token '01/May/2026:08:00:09 +0800' doesn't match specifier '%x'
==86794== Token '01/May/2026:08:00:12 +0800' doesn't match specifier '%x'
==86794== Token '01/May/2026:08:00:20 +0800' doesn't match specifier '%x'
==86794== Token '01/May/2026:08:00:25 +0800' doesn't match specifier '%x'
==86794== Token '01/May/2026:08:00:29 +0800' doesn't match specifier '%x'
==86794== Token '01/May/2026:08:00:36 +0800' doesn't match specifier '%x'
==86794== Token '01/May/2026:08:00:36 +0800' doesn't match specifier '%x'
==86794== Token '01/May/2026:08:00:37 +0800' doesn't match specifier '%x'
==86794==
==86794== Format Errors - Verify your log/date/time format
In fact, I have try almost all combinations of these format..... nothing works. so sad.
All reactions