From f1369ae370a1062744980b0c0a4a991c8acf68a2 Mon Sep 17 00:00:00 2001 From: Nick Muerdter <12112+GUI@users.noreply.github.com> Date: Tue, 26 Sep 2023 14:59:08 -0600 Subject: [PATCH] docs: Clarify UPSTREAM_REMOTE_ADDRESS and UPSTREAM_HOST access log variables are the same (#29800) docs: Clarify UPSTREAM_REMOTE_ADDRESS and UPSTREAM_HOST are the same These access log variables use identical code so they should always be equivalent. Signed-off-by: Nick Muerdter <12112+GUI@users.noreply.github.com> --- .../configuration/observability/access_log/usage.rst | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/docs/root/configuration/observability/access_log/usage.rst b/docs/root/configuration/observability/access_log/usage.rst index d1afd3ff715d..f9d2cda74ae2 100644 --- a/docs/root/configuration/observability/access_log/usage.rst +++ b/docs/root/configuration/observability/access_log/usage.rst @@ -511,8 +511,11 @@ UDP TCP/UDP Not implemented ("-") +.. _config_access_log_format_upstream_host: + %UPSTREAM_HOST% - Upstream host URL (e.g., tcp://ip:port for TCP connections). + Upstream host URL (e.g., tcp://ip:port for TCP connections). Identical to the :ref:`UPSTREAM_REMOTE_ADDRESS + ` value. %UPSTREAM_CLUSTER% Upstream cluster to which the upstream host belongs to. :ref:`alt_stat_name @@ -530,9 +533,11 @@ UDP Local port of the upstream connection. IP addresses are the only address type with a port component. +.. _config_access_log_format_upstream_remote_address: + %UPSTREAM_REMOTE_ADDRESS% Remote address of the upstream connection. If the address is an IP address it includes both - address and port. + address and port. Identical to the :ref:`UPSTREAM_HOST ` value. %UPSTREAM_REMOTE_ADDRESS_WITHOUT_PORT% Remote address of the upstream connection, without any port component.