Important: This documentation is about an older version. It's relevant only to the release noted, many of the features and functions have been updated or replaced. Please view the current version.
Fluent Bit
Fluent Bit is a fast, lightweight logs and metrics agent. It is a CNCF graduated sub-project under the umbrella of Fluentd. Fluent Bit is licensed under the terms of the Apache License v2.0.
When using Fluent Bit to ship logs to Loki, you can define which log files you want to collect using the Tail
or Stdin
data pipeline input. Additionally, Fluent Bit supports multiple Filter
and Parser
plugins (Kubernetes
, JSON
, etc.) to structure and alter log lines.
There are two Fluent Bit plugins for Loki:
- The integrated
loki
plugin, which is officially maintained by the Fluent Bit project. - The
grafana-loki
plugin, an alternative community plugin by Grafana Labs.
We recommend using the loki
plugin as this provides the most complete feature set and is actively maintained by the Fluent Bit project.
Tutorial
To get started with the loki
plugin, follow the Sending logs to Loki using Fluent Bit tutorial.