'Goaccess Format Error - Verify your log/date/time format

My log lines are like

2022-05-06T11:21:16.40-0400 [RTR/4] OUT saat-user-auth-web-edu.apps.stl.pcfdev00.mastercard.int - [2022-05-06T15:21:16.213506208Z] "POST /api/authenticate HTTP/1.1" 200 194 72 "-" "Apache-HttpClient/4.5.5 (Java/1.8.0_271)" "10.158.139.20:53588" "10.158.139.161:61084" x_forwarded_for:"10.158.139.20" x_forwarded_proto:"https" vcap_request_id:"48b5a532-6894-43d1-46eb-289a6829bbde" response_time:0.190081 gorouter_time:0.001345 app_id:"a12cb634-976a-40b1-99bd-00343d23f50b" app_index:"0" instance_id:"3a2a2756-d720-4235-4dd8-af7f" x_cf_routererror:"-" x_mc_correlation_id:"b3bc6ed5c8ff45a5bf7a65c49397ff33" x_correlation_id:"-" correlation_id:"-" x_b3_traceid:"5490ac6215197c9101243667ac074f49" x_b3_spanid:"01243667ac074f49" x_b3_parentspanid:"-" b3:"5490ac6215197c9101243667ac074f49-01243667ac074f49"

And when running:

goaccess /myLog.log \
log-format %v %h %^[%d:%t %^] "%r" %s %b "%R" "%u" \
date-format %d/%b/%Y \
time-format %H:%M:%S \
--date-spec hr \
--hour-spec min \
--invalid-requests /invalid-requests.log \
-o /report.html

and am getting:

==17507== Token 'UT' doesn't match specifier '%m'
==17507==
==17507== Format Errors - Verify your log/date/time format


Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source