From 9024d2f451a08022cd9ed10fe122a627a5bffc1e Mon Sep 17 00:00:00 2001 From: Vincent Gramer Date: Thu, 19 Jul 2018 17:23:40 +0200 Subject: [PATCH] doc log-format: add variables about ingress --- docs/user-guide/nginx-configuration/log-format.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/user-guide/nginx-configuration/log-format.md b/docs/user-guide/nginx-configuration/log-format.md index 8cd64ae38..eeed2a0da 100644 --- a/docs/user-guide/nginx-configuration/log-format.md +++ b/docs/user-guide/nginx-configuration/log-format.md @@ -31,6 +31,15 @@ log_format upstreaminfo | `$upstream_response_time` | time spent on receiving the response from the upstream server as seconds with millisecond resolution | | `$upstream_status` | status code of the response obtained from the upstream server | +Additional available variables: + +| Placeholder | Description | +|-------------|-------------| +| `$namespace` | namespace of the ingress | +| `$ingress_name` | name of the ingress | +| `$service_name` | name of the service | +| `$service_port` | port of the service | + Sources: