Skip to content

Commit

Permalink
feat(out_loki): add compress option (#1199)
Browse files Browse the repository at this point in the history
* feat(out_loki): add compress option

Signed-off-by: Kazuhiro Suzuki <[email protected]>

* out_loki: fix the description of compress option

Co-authored-by: Pat <[email protected]>
Signed-off-by: Kazuhiro Suzuki <[email protected]>

---------

Signed-off-by: Kazuhiro Suzuki <[email protected]>
Co-authored-by: Pat <[email protected]>
  • Loading branch information
ksauzz and patrick-stephens authored Dec 1, 2023
1 parent 2bc4e9c commit d5ac403
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pipeline/outputs/loki.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 mechanism. The only available option is gzip. Default = "", which means no compression. ||

## Labels

Expand Down

0 comments on commit d5ac403

Please sign in to comment.