Closed hitolonen closed 3 years ago
This should do it:
goaccess access.log --log-format='{"sent_x_cache":"%C", "timestamp": "%d:%t %^", "status": "%s", "http_host": "%v", "http_version": "%H", "remote_user": "%e", "request_type": "%m", "body_bytes_sent": "%b", "http_referer": "%R", "content_type": "%M", "request_time": "%T", "remote_addr": "%h", "request_url": "%U" }' --date-format=%d/%b/%Y --time-format=%T
GoAccess - 1.4.6.
Hi, this is quite similar to https://github.com/allinurl/goaccess/issues/2083
I am having trouble formatting the logs which result into
Format Errors - Verify your log/date/time format
.Example data:
I have tried the following formats:
And also the one from #2083 with same results,
Format Errors - Verify your log/date/time format
.Could you please review the formatting? Thank you.