Skip to content

Latest commit

 

History

History
27 lines (14 loc) · 1.58 KB

README.md

File metadata and controls

27 lines (14 loc) · 1.58 KB

Fluent-bit setup

Components

This setup installs a fluent-operator and fluent-bits (as daemonset) collecting containers logs and systemd logs for kubelet and containerd services running on the nodes.

It leverages the opentelemetry-envelope processor to pack the logs in otel format and adds additional attributes via lua scripting.

Setup

By default the fluent-operator deploys a pipeline with a predefined set of input, filter and output plugins. However the current version of the operator does not support, out of the box, the fluent-bit yaml configuration mode. The yaml configuration mode is required by the opentelemetry-envelope config.

This functionality is only exposed in YAML configuration and not in classic configuration mode due to the restriction of nested levels of configuration.

Thus this setup switches the configuration in yaml format by patching the ClusterFluentBitConfig resource and applies the required fluent-bit plugins.

Pipelines

This setup provides two fluent-bit pipelines.

Container logs pipeline

Systemd logs