HTTP upstream variables
$upstream_response_time (HTTP upstream variables)
Elapsed upstream response reception time in seconds, with millisecond resolution. Multiple attempts may produce separated values; no upstream can produce a missing marker in logs.
Formal Syntax & Structure
nginx syntaxnginx
$upstream_response_timeWorking Example
Example Snippetnginx
log_format timing "$upstream_response_time";