fluentd

Fluentd: Unified Logging Layer (project under CNCF)

Github星跟踪图

Fluentd: Open-Source Log Collector

Travis CI:

Code Climate
CII Best Practices
FOSSA Status

Drone CI for Arm64:

pipeline status

Fluentd collects events from various data sources and writes them to files, RDBMS, NoSQL, IaaS, SaaS, Hadoop and so on. Fluentd helps you unify your logging infrastructure (Learn more about the Unified Logging Layer).

An event consists of tag, time and record. Tag is a string separated with '.' (e.g. myapp.access). It is used to categorize events. Time is a UNIX time recorded at occurrence of an event. Record is a JSON object.

Example Use Cases

Use Case, Description, Diagram
--------, ------------, :---------:
Centralizing Apache/Nginx Server Logs, Fluentd can be used to tail access/error logs and transport them reliably to remote systems.,
Syslog Alerting, Fluentd can "grep" for events and send out alerts.,
Mobile/Web Application Logging, Fluentd can function as middleware to enable asynchronous, scalable logging for user action events.,

Quick Start

$ gem install fluentd
$ fluentd -s conf
$ fluentd -c conf/fluent.conf &
$ echo '{"json":"message"}', fluent-cat debug.test

Development

Branch

Prerequisites

  • Ruby 2.4 or later
  • git

git should be in PATH. On Windows, you can use Github for Windows and GitShell for easy setup.

Install dependent gems

Use bundler:

$ gem install bundler
$ bundle install --path vendor/bundle

Run test

$ bundle exec rake test

You can run specified test via TEST environment variable:

$ bundle exec rake test TEST=test/test_specified_path.rb
$ bundle exec rake test TEST=test/test_*.rb

Fluentd UI: Admin GUI

Fluentd UI is a graphical user interface to start/stop/configure Fluentd.

More Information

Contributors:

Patches contributed by great developers.

主要指标

概览
名称与所有者fluent/fluentd
主编程语言Ruby
编程语言Ruby (语言数: 2)
平台
许可证Apache License 2.0
所有者活动
创建于2011-06-19 08:41:40
推送于2025-04-21 14:02:02
最后一次提交2025-04-17 17:57:13
发布数259
最新版本名称v1.16.7 (发布于 2025-01-29 17:51:37)
第一版名称v0.9.0 (发布于 )
用户参与
星数13.1k
关注者数329
派生数1.4k
提交数7k
已启用问题?
问题数2157
打开的问题数133
拉请求数1905
打开的拉请求数10
关闭的拉请求数278
项目设置
已启用Wiki?
已存档?
是复刻?
已锁定?
是镜像?
是私有?