Skip to content

Commit 5cfb3e4

Browse files
authored
docs: Add notes about ingress_upstreaminfo log format for parse_nginx_log() function (vectordotdev#18477)
1 parent 59dfd67 commit 5cfb3e4

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

website/cue/reference/remap/functions/parse_nginx_log.cue

+3-2
Original file line numberDiff line numberDiff line change
@@ -3,8 +3,9 @@ package metadata
33
remap: functions: parse_nginx_log: {
44
category: "Parse"
55
description: """
6-
Parses Nginx access and error log lines. Lines can be in [`combined`](\(urls.nginx_combined)), or [`error`](\(urls.nginx_error)) format.
7-
"""
6+
Parses Nginx access and error log lines. Lines can be in [`combined`](\(urls.nginx_combined)),
7+
[`ingress_upstreaminfo`](\(urls.nginx_ingress_upstreaminfo)) or [`error`](\(urls.nginx_error)) format.
8+
"""
89
notices: [
910
"""
1011
Missing information in the log message may be indicated by `-`. These fields are omitted in the result.

website/cue/reference/urls.cue

+1
Original file line numberDiff line numberDiff line change
@@ -376,6 +376,7 @@ urls: {
376376
new_transform: "\(vector_repo)/issues/new?labels=type%3A+new+feature"
377377
nginx: "https://www.nginx.com/"
378378
nginx_combined: "https://nginx.org/en/docs/http/ngx_http_log_module.html"
379+
nginx_ingress_upstreaminfo: "https://kubernetes.github.io/ingress-nginx/user-guide/nginx-configuration/log-format/"
379380
nginx_error: "https://github.com/nginx/nginx/blob/branches/stable-1.18/src/core/ngx_log.c#L102"
380381
nginx_stub_status_module: "http://nginx.org/en/docs/http/ngx_http_stub_status_module.html"
381382
nix: "https://nixos.org/nix/"

0 commit comments

Comments
 (0)