Fluent Bit ¶
Fluent Bit is an open source Log Processor and Forwarder which allows you to collect any data like metrics and logs from different sources, enrich them with filters and send them to multiple destinations.
This package deploys Fluent Bit as a DaemonSet, with one Fluent Bit
pod on each Kubernetes
node, collecting and forwarding logs from each
pod running on that
The provided default configuration will print forwarded logs to
stdout on the
stdout output plugin is useful for testing, but typically not appropriate for production use.
Instead, Fluent Bit supports configurations for a number of different output types, such as open-source software like
loki, cloud platform-provided services like
Stackdriver, or generic protocols like
For more information on output types, see the Output section of the Fluent Bit Documentation.
Supported Providers ¶
The following table shows the providers this package can work with.
The following configuration values can be set to customize the Fluent Bit installation.
|Optional||The namespace in which to deploy Fluent Bit.|
Fluent Bit Configuration ¶
Fluent-bit’s primary configuration interface is its config file, which is documented on Fluent’s documentation page.
In order to ensure that any supported inputs, outputs, filters, parsers, or other capabilities of the deployed version of Fluent Bit are available, the addon’s configuration is intentionally a lightweight pass-through of the Fluent Bit config file format.
|Optional||custom configuration for Fluent Bit service, as a multiline |
|Optional||configuration for Fluent Bit outputs, as a multiline |
|Optional||configuration for Fluent Bit inputs, as a multiline |
|Optional||configuration for Fluent Bit filters, as a multiline |
|Optional||configuration for Fluent Bit parsers, as a multiline |
|Optional||content for Fluent Bit streams file, as a multiline |
|Optional||content for a Fluent Bit plugins configuration file, as a multiline |
|Optional||resource limits and/or requests for the |
|Optional||metadata annotations for the daemonset pods|
|Optional||metadata labels for the daemonset pods|
Usage Example ¶
Once the package has been deployed, tail the logs from the Fluent Bit DaemonSet using
kubectl logs daemonset/fluent-bit -n fluent-bit. You should see a large volume of logs from all pods.