I’m trying to modify my nginx access log format to include the request
duration, in seconds.
I see two possible variables I could use:
However both of these variables are expressed in microseconds, and I
this value to be rendered in seconds. Is there any way to specify the
as an expression (i.e. $request_time * 1000) or accomplish this in some
Posted at Nginx Forum: