Files
nexus/wiki/concepts/FluentBit.md

1.6 KiB
Raw Blame History

title, type, tags, last_updated
title type tags last_updated
Fluent Bit concept
AWS
EKS
logging
monitoring
CNCF
Fluentd
2026-04-28

Definition

Fluent BitCNFC 开源项目)是轻量级日志处理器和转发器,设计用于边缘和容器环境,作为 DaemonSet 部署在每个 Kubernetes 节点上。它从容器运行时containerd/Docker收集标准输出stdout/stderr日志处理后转发到 CloudWatch Logs、OpenSearch、Elasticsearch 等后端存储系统,是 EKS 可观测性架构中日志采集的标准组件。

Key Mechanisms

  • 日志采集:通过容器运行时接口收集容器标准输出日志
  • 多后端输出:支持 CloudWatch Logs、OpenSearch、Elasticsearch、Kafka 等多种输出目标
  • 日志处理支持过滤filter、解析parser、路由router等处理管道
  • 轻量高效:相比 Fluentd 更小的资源占用,适合边缘/容器环境
  • Kubernetes DaemonSet 模式:每个节点运行一个实例,自动采集所有容器日志

Relationship with Fluentd and CloudWatch Agent

Fluent Bit 是 Fluentd 的轻量替代(同一项目家族):

  • Fluentd功能更全面适合复杂日志处理场景资源占用更高
  • Fluent Bit轻量快速专为边缘和容器优化
  • CloudWatch Agent侧重指标收集Fluent Bit 侧重日志收集
  • 在 EKS 监控栈中Fluent Bit → CloudWatch Logs/OpenSearch → Grafana/OpenSearch Dashboards

Sources