From b7bafb4681bc1699974e8feee1d66fa7512b7b4d Mon Sep 17 00:00:00 2001 From: Kazuhiro Suzuki Date: Wed, 20 Sep 2023 19:38:54 +0900 Subject: [PATCH 1/2] feat(out_loki): add compress option Signed-off-by: Kazuhiro Suzuki --- pipeline/outputs/loki.md | 1 + 1 file changed, 1 insertion(+) diff --git a/pipeline/outputs/loki.md b/pipeline/outputs/loki.md index 11a9eabee..01966500f 100644 --- a/pipeline/outputs/loki.md +++ b/pipeline/outputs/loki.md @@ -26,6 +26,7 @@ Be aware there is a separate Golang output plugin provided by [Grafana](https:// | line\_format | Format to use when flattening the record to a log line. Valid values are `json` or `key_value`. If set to `json`, the log line sent to Loki will be the Fluent Bit record dumped as JSON. If set to `key_value`, the log line will be each item in the record concatenated together \(separated by a single space\) in the format. | json | | auto\_kubernetes\_labels | If set to true, it will add all Kubernetes labels to the Stream labels | off | | tenant\_id\_key | Specify the name of the key from the original record that contains the Tenant ID. The value of the key is set as `X-Scope-OrgID` of HTTP header. It is useful to set Tenant ID dynamically. || +| compress | Set payload compression in network transfer. Option available is 'gzip'|| ## Labels From f922bf12e807992a1b8ca48818970923e3ac7027 Mon Sep 17 00:00:00 2001 From: Kazuhiro Suzuki Date: Fri, 22 Sep 2023 09:33:13 +0900 Subject: [PATCH 2/2] out_loki: fix the description of compress option Co-authored-by: Pat Signed-off-by: Kazuhiro Suzuki --- pipeline/outputs/loki.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pipeline/outputs/loki.md b/pipeline/outputs/loki.md index 01966500f..798ab2191 100644 --- a/pipeline/outputs/loki.md +++ b/pipeline/outputs/loki.md @@ -26,7 +26,7 @@ Be aware there is a separate Golang output plugin provided by [Grafana](https:// | line\_format | Format to use when flattening the record to a log line. Valid values are `json` or `key_value`. If set to `json`, the log line sent to Loki will be the Fluent Bit record dumped as JSON. If set to `key_value`, the log line will be each item in the record concatenated together \(separated by a single space\) in the format. | json | | auto\_kubernetes\_labels | If set to true, it will add all Kubernetes labels to the Stream labels | off | | tenant\_id\_key | Specify the name of the key from the original record that contains the Tenant ID. The value of the key is set as `X-Scope-OrgID` of HTTP header. It is useful to set Tenant ID dynamically. || -| compress | Set payload compression in network transfer. Option available is 'gzip'|| +| compress | Set payload compression mechanism. The only available option is gzip. Default = "", which means no compression. || ## Labels