Description
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.
Fluentd alternatives and similar gems
Based on the "Logging" category.
Alternatively, view Fluentd alternatives based on common mentions on social networks and blogs.
-
Semantic Logger
Semantic Logger is a feature rich logging framework, and replacement for existing Ruby & Rails loggers. -
Logging
A flexible logging library for use in Ruby programs based on the design of Java's log4j library. -
Log4r
Log4r is a comprehensive and flexible logging library for use in Ruby programs. It features a heirarchical logging system of any number of levels, custom level names, multiple output destinations per log event, custom formatting, and more. -
Puts Debuggerer
Ruby library for improved puts debugging, automatically displaying bonus useful information such as source line number and source code.
Scout Monitoring - Performance metrics and, now, Logs Management Monitoring with Scout Monitoring
* Code Quality Rankings and insights are calculated and provided by Lumnify.
They vary from L1 to L5 with "L5" being the highest.
Do you think we are missing an alternative of Fluentd or a related project?
README
Fluentd: Open-Source Log Collector
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).
Quick Start
$ gem install fluentd
$ fluentd -s conf
$ fluentd -c conf/fluent.conf &
$ echo '{"json":"message"}' | fluent-cat debug.test
Development
Branch
- master: For v1 development.
- v0.12: For v0.12. This is deprecated version. we already stopped supporting (See https://www.fluentd.org/blog/drop-schedule-announcement-in-2019).
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
More Information
- Website: https://www.fluentd.org/
- Documentation: https://docs.fluentd.org/
- Project repository: https://github.com/fluent
- Discussion: https://github.com/fluent/fluentd/discussions
- Slack / Community: https://slack.fluentd.org
- Newsletters: https://www.fluentd.org/newsletter
- Author: Sadayuki Furuhashi
- Copyright: 2011-2021 Fluentd Authors
- License: Apache License, Version 2.0
Security
A third party security audit was performed by Cure53, you can see the full report [here](docs/SECURITY_AUDIT.pdf).
See [SECURITY](SECURITY.md) to contact us about vulnerability.
Contributors:
Patches contributed by great developers.
*Note that all licence references and agreements mentioned in the Fluentd README section above
are relevant to that project's source code only.