For Kubernetes log handlers are independent components that helps to collect and process log files for every POD in the nodes.
The recently released Fluent Bit v0.11, comes with full support for Kubernetes clusters:
- Read every container and POD log file
- Enrich logs with Kubernetes metadata:
- POD Name
- POD ID
- Container Name
- Container ID
- Low memory consumption
All this is possible thanks for the following built-in plugins available:
- Tail input plugin
- Kubernetes filter plugin
Tail Input Plugin
This plugin allows to tail log files from multiple containers, parse the content and gather fixed metadata information from the file path.
Kubernetes Filter Plugin
This plugin takes the logs reported by Tail Input Plugin and based on it metadata, it talks to the Kubernetes API server to get extra information, specifically POD metadata.
This plugin is fully inspired on the Fluentd Kubernetes Metadata Filter written by Jimmi Dyson
Deploying Fluent Bit for Kubernetes
In the following days we will publish our new documention of Fluent Bit for Kubernetes. Stay tuned!