Skip to content

Commit

Permalink
fix(httplog) render custom_fields_by_lua properly
Browse files Browse the repository at this point in the history
  • Loading branch information
Tieske committed May 12, 2022
1 parent c9c37b2 commit 2eda3a1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions app/_hub/kong-inc/http-log/_index.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand All @@ -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
Expand Down

0 comments on commit 2eda3a1

Please sign in to comment.