fluentd

Fluentd: Unified Logging Layer (project under CNCF)

Github stars Tracking Chart

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.

Main metrics

Overview
Name With Ownerfluent/fluentd
Primary LanguageRuby
Program languageRuby (Language Count: 2)
Platform
License:Apache License 2.0
所有者活动
Created At2011-06-19 08:41:40
Pushed At2025-04-21 14:02:02
Last Commit At2025-04-17 17:57:13
Release Count259
Last Release Namev1.16.7 (Posted on 2025-01-29 17:51:37)
First Release Namev0.9.0 (Posted on )
用户参与
Stargazers Count13.1k
Watchers Count329
Fork Count1.4k
Commits Count7k
Has Issues Enabled
Issues Count2157
Issue Open Count133
Pull Requests Count1905
Pull Requests Open Count10
Pull Requests Close Count278
项目设置
Has Wiki Enabled
Is Archived
Is Fork
Is Locked
Is Mirror
Is Private