goaccess: Goaccess gives 'IPv4/6 is required.' even if I do not have a domain parser field
- Can not parse the following with go access:
- - - [15/Jan/2020:06:27:31 +0100] "example.com" "GET / HTTP/1.1" 200 2275 "-" "FreshpingBot/1.0 (+https://freshping.io/)" 0.012
My parser is:
goaccess demo --log-format='%^ %^[%d:%t %^] %v "%m %U %H" %s %b "%^" "%u" %T' --date-format=%d/%b/%Y --time-format=%T --http-protocol=no
it gives
goaccess demo --log-format='%^ %^[%d:%t %^] %v "%m %U %H" %s %b "%^" "%u" %T' --date-format=%d/%b/%Y --time-format=%T --http-protocol=no
Parsed 1 lines producing the following errors:
IPv4/6 is required.
- The only domain field I have is virtual host %v
go access still gives me the error without it:
goaccess demo --log-format='%^ %^[%d:%t %^] %^ "%m %U %H" %s %b "%^" "%u" %T' --date-format=%d/%b/%Y --time-format=%T --http-protocol=no
Parsed 1 lines producing the following errors:
IPv4/6 is required.
- Could not find a verbose option. Is there a way where we can give smthg like “–verbose”
About this issue
- Original URL
- State: closed
- Created 4 years ago
- Comments: 20 (8 by maintainers)
You still have to specify
%h
, e.g.,