From 2eda3a162a07197f20c5734dc3b26a7016fda9aa Mon Sep 17 00:00:00 2001 From: Thijs Schreijer Date: Thu, 12 May 2022 14:08:08 +0200 Subject: [PATCH] fix(httplog) render custom_fields_by_lua properly --- app/_hub/kong-inc/http-log/_index.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/app/_hub/kong-inc/http-log/_index.md b/app/_hub/kong-inc/http-log/_index.md index 239bef86941d..37c5347def07 100644 --- a/app/_hub/kong-inc/http-log/_index.md +++ b/app/_hub/kong-inc/http-log/_index.md @@ -101,10 +101,6 @@ params: **Note:** This parameter is only available for versions 2.3.x and later. - extra: | - **NOTE:** If the `config.http_endpoint` contains a username and password (for example, - `http://bob:password@example.com/logs`), then Kong Gateway automatically includes - a basic-auth `Authorization` header in the log requests. - name: custom_fields_by_lua required: false default: @@ -113,6 +109,10 @@ params: A list of key-value pairs, where the key is the name of a log field and the value is a chunk of Lua code, whose return value sets or replaces the log field value. + extra: | + **NOTE:** If the `config.http_endpoint` contains a username and password (for example, + `http://bob:password@example.com/logs`), then Kong Gateway automatically includes + a basic-auth `Authorization` header in the log requests. --- ## Log format