HTTP variables
$request_id variable (HTTP core)
Generated hexadecimal request identifier from 16 random bytes; since 1.11.0. Not a credential.
Formal Syntax & Structure
nginx syntaxnginx
$request_idWorking Example
Example Snippetnginx
log_format sample '$request_id';# Illustrative value: 0123456789abcdef0123456789abcdef