HTTP variables
$time_local variable (HTTP)
Local timestamp in conventional web access-log format, with timezone offset. Useful for interpreting older log pipelines; prefer a consistent timezone-aware format. Version: 1.3.12 / 1.2.7. OSS documentation; verify build. No positional directive arguments. Example is a partial configuration fragment for a disposable synthetic lab; not a production logging policy.
Formal Syntax & Structure
nginx syntaxnginx
$time_localWorking Example
Example Snippetnginx
# Partial http-context example: isolated synthetic requests only; no real user data.log_format lab_time_local escape=json '{"observed":"$time_local"}';