fluent/fluent-bit

GitHub: fluent/fluent-bit

一款超轻量级、高性能的云原生遥测数据代理,专为日志、指标和链路追踪的统一采集与处理而设计。

Stars: 7709 | Forks: 1882

# ![logo](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/fff70e332d223033.png) ### CI 状态 | CI 工作流 | 状态 | |-------------------------|-------------------------------------------------------------------------------------------------------------------------------------------------------------| | 单元测试 (`master`) | [![CI/Unit Tests](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/97cecd4307223039.svg)](https://github.com/fluent/fluent-bit/actions/workflows/unit-tests.yaml) | | 集成测试 | [![CI/Integration Tests](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/2f2e7af11f223045.svg)](https://github.com/fluent/fluent-bit/actions/workflows/master-integration-test.yaml) | | Arm 构建 | Arm CI sponsored by Actuated | | 最新发布流水线 | [![CI/Build](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/a10e61747f223051.svg)](https://github.com/fluent/fluent-bit/actions/workflows/staging-release.yaml) | ## 关于 [Fluent Bit](https://fluentbit.io) 是一个轻量级且高性能的 Telemetry Agent,旨在从任何来源收集、处理并转发 **Logs**、**Metrics** 和 **Traces** 到任何目的地。 它是毕业级 [Fluentd](https://fluentd.org) 生态系统的一部分,也是一个 CNCF [Cloud Native Computing Foundation](https://cncf.io) 项目。 Fluent Bit 支持多种平台,包括 Linux、Windows、MacOS、BSD 和嵌入式环境,并以最小的 CPU 和内存占用实现了最高效率。 ![](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/527a90cd5d223108.png) ## 📌 路线图与维护 我们遵循快节奏的开发周期,每 3-4 个月发布一次主要版本。 活跃的开发分支 (`master`) 目前专注于 **v5.0** (开发中)。 有关特定版本的维护时间表和政策,请参阅 [MAINTENANCE.md](https://github.com/fluent/fluent-bit/blob/master/MAINTENANCE.md)。 要追踪即将到来的里程碑,请访问 [项目路线图](https://github.com/fluent/fluent-bit/wiki/Fluent-Bit-Roadmap)。 ## 核心功能 - ⚡ **高性能** 且低内存占用 - 📦 **可插拔架构**:70+ 内置插件,涵盖 Inputs、Filters 和 Outputs - 🧠 **SQL 流处理**:通过 SQL 查询执行分析和转换 - 🔒 **安全网络**:内置 TLS/SSL 支持和异步 I/O - 📊 **监控**:通过 HTTP/Prometheus 暴露内部指标 - 🧩 **可扩展性**: - 使用 **C** 编写插件,使用 **Lua** 编写过滤器,使用 **Go** 编写输出 - 🔌 **支持 Logs、Metrics 和 Traces**,实现统一的处理和交付 ## 文档 我们的官方文档包括安装指南、插件使用、开发人员资源等: 📚 [https://docs.fluentbit.io](https://docs.fluentbit.io) ## 快速开始 从源码构建: ``` cd build cmake .. make bin/fluent-bit -i cpu -o stdout -f 1 ``` 更多详情:[构建与安装](https://docs.fluentbit.io/manual/installation/downloads/source/build-and-install) #### 需求 - CMake >= 3.0 - Flex & Bison - YAML 和 OpenSSL 头文件 ## 安装 Fluent Bit - [Linux 软件包 (Debian, Ubuntu, RHEL 等)](https://docs.fluentbit.io/manual/installation/downloads/linux) - [Docker 镜像](https://docs.fluentbit.io/manual/installation/downloads/docker) - [Windows 二进制文件](https://docs.fluentbit.io/manual/installation/downloads/windows) ## 插件:Inputs, Filters, Outputs Fluent Bit 是完全模块化的。它支持: - [Input 插件](https://docs.fluentbit.io/manual/pipeline/inputs):收集 logs/metrics/traces - [Filter 插件](https://docs.fluentbit.io/manual/pipeline/filters):丰富和转换数据 - [Output 插件](https://docs.fluentbit.io/manual/pipeline/outputs):将数据传送到外部服务 请在我们的[文档](https://docs.fluentbit.io/manual/pipeline/inputs)中查看完整的插件列表。 ## 🚀 生产环境使用 Fluent Bit 每天的部署量**超过 1000 万次**,下载量已突破 **150 亿次**。 使用的公司包括: ![users](https://static.pigsec.cn/wp-content/uploads/repos/2026/03/a7722bb3a8223127.png) ## 许可证 [Apache License v2.0](http://www.apache.org/licenses/LICENSE-2.0) ## 作者 Fluent Bit 是一个 CNCF 毕业项目,由主要云服务提供商赞助和维护,并拥有来自 Cloud Native 生态系统各地不断增长的贡献者和维护者社区。 👉 [查看贡献者](https://github.com/fluent/fluent-bit/graphs/contributors)
标签:API集成, Bash脚本, CNCF, Fluent Bit, IoT, LangChain, rizin, web渗透, 可观测性, 命令控制, 子域名变形, 安全测试工具, 客户端加密, 容器, 嵌入式, 开源, 指标, 数据管道, 数据采集, 日志, 日志代理, 日志处理, 日志审计, 日志转发, 流处理, 监控, 软件工程, 轻量级, 遥测, 链路追踪