fluent / fluent-operator

Operate Fluent Bit and Fluentd in the Kubernetes way - Previously known as FluentBit Operator
Apache License 2.0
578 stars 246 forks source link

Support storage.total_limit_size for syslog #1317

Closed jk-mob closed 1 month ago

jk-mob commented 1 month ago

Is your feature request related to a problem? Please describe.

Fluent Bit supports limiting filesystem space for chunks (doc here). This is to control the amount of filesystem chunks are using. Support for this began in Fluent Bit 1.6 and it can be configured in the output section of one's configuration.

Describe the solution you'd like

Add support for setting storage.total_limit_size for the syslog output plugin.

Additional context

This has already been implemented for some other output plugins, e.g. https://github.com/fluent/fluent-operator/issues/1194. I propose making the equivalent changes for syslog (and am happy to contribute them myself).