nginx - Time Served shows 0.0us in goaccess tool -


we installed goaccess v0.9 in our linux machine. have customized log format in nginx.

log_format  timed_combined  '$remote_addr - $remote_user [$time_local] "$request" $status $body_bytes_sent "$http_referer" "$http_user_agent" "$http_x_forwarded_for" <msec=$msec|connection=$connection|connection_requests=$connection_requests|millis=$request_time>'; 

but while viewing logs using goaccess tool, time served parameter shows 0.00us panels. log format used in goaccess.conf

log-format %h %^[%d:%^] "%r" %s %b "%r" "%u" %^ %d 

how display correct time served in goaccess report

assuming log-format correct, nginx uses milliseconds, instead of specifying %d (microseconds), should use %t.

log-format %h %^[%d:%^] "%r" %s %b "%r" "%u" %^ %t 

more custom log.


Popular posts from this blog

c# - ODP.NET Oracle.ManagedDataAccess causes ORA-12537 network session end of file -

matlab - Compression and Decompression of ECG Signal using HUFFMAN ALGORITHM -

utf 8 - split utf-8 string into bytes in python -