Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add compression to opensearch output plugin #1258

Merged
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions apis/fluentbit/v1alpha2/plugins/output/open_search_types.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,8 @@ type OpenSearch struct {
*plugins.Networking `json:"networking,omitempty"`
// Limit the maximum number of Chunks in the filesystem for the current output logical destination.
TotalLimitSize string `json:"totalLimitSize,omitempty"`
// +kubebuilder:validation:Enum=gzip
Compress string `json:"compress,omitempty"`
}

// Name implement Section() method
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2336,6 +2336,10 @@ spec:
otherwise the value must be according to the Unit Size specification.
pattern: ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
type: string
compress:
enum:
- gzip
type: string
currentTimeIndex:
description: Use current time for index generation instead of
message record
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2336,6 +2336,10 @@ spec:
otherwise the value must be according to the Unit Size specification.
pattern: ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
type: string
compress:
enum:
- gzip
type: string
currentTimeIndex:
description: Use current time for index generation instead of
message record
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/fluentbit.fluent.io_clusteroutputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2336,6 +2336,10 @@ spec:
otherwise the value must be according to the Unit Size specification.
pattern: ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
type: string
compress:
enum:
- gzip
type: string
currentTimeIndex:
description: Use current time for index generation instead of
message record
Expand Down
4 changes: 4 additions & 0 deletions config/crd/bases/fluentbit.fluent.io_outputs.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2336,6 +2336,10 @@ spec:
otherwise the value must be according to the Unit Size specification.
pattern: ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
type: string
compress:
enum:
- gzip
type: string
currentTimeIndex:
description: Use current time for index generation instead of
message record
Expand Down
1 change: 1 addition & 0 deletions docs/plugins/fluentbit/output/open_search.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,3 +40,4 @@ OpenSearch is the opensearch output plugin, allows to ingest your records into a
| tls | | *[plugins.TLS](../tls.md) |
| networking | Include fluentbit networking options for this output-plugin | *plugins.Networking |
| totalLimitSize | Limit the maximum number of Chunks in the filesystem for the current output logical destination. | string |
| compress | | string |
8 changes: 8 additions & 0 deletions manifests/setup/fluent-operator-crd.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6083,6 +6083,10 @@ spec:
otherwise the value must be according to the Unit Size specification.
pattern: ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
type: string
compress:
enum:
- gzip
type: string
currentTimeIndex:
description: Use current time for index generation instead of
message record
Expand Down Expand Up @@ -32241,6 +32245,10 @@ spec:
otherwise the value must be according to the Unit Size specification.
pattern: ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
type: string
compress:
enum:
- gzip
type: string
currentTimeIndex:
description: Use current time for index generation instead of
message record
Expand Down
8 changes: 8 additions & 0 deletions manifests/setup/setup.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6083,6 +6083,10 @@ spec:
otherwise the value must be according to the Unit Size specification.
pattern: ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
type: string
compress:
enum:
- gzip
type: string
currentTimeIndex:
description: Use current time for index generation instead of
message record
Expand Down Expand Up @@ -32241,6 +32245,10 @@ spec:
otherwise the value must be according to the Unit Size specification.
pattern: ^\d+(k|K|KB|kb|m|M|MB|mb|g|G|GB|gb)?$
type: string
compress:
enum:
- gzip
type: string
currentTimeIndex:
description: Use current time for index generation instead of
message record
Expand Down
Loading