Skip to content

kzk/fluent

 
 

Repository files navigation

Fluent

Fluent is an event collector system. It’s said that Fluent is generalized version of syslogd, which can deal with JSON object for the log message.

Archtecture

Fluent collects events from various data sources and write them to files, database or other storages:

Web apps  ---+                +--> file
             |                |
             +-->          ---+
/var/log  ------>  fluent  ------> mail
             +-->          ---+
             |                |
apache    ----                +--> fluent

Fluent also supports log transfer:

Web server
+--------+
| fluent -------
+--------+|     |
 +--------+     |
                |
Proxy server    |    Log server, Amazon S3, HDFS, ...
+--------+      +--> +--------+
| fluent ----------> | fluent ||
+--------+|     +--> +--------+|
 +--------+     |     +--------+
                |
Database server |
+--------+      |
| fluent ---------> mail
+--------+|
 +--------+

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 when the event occurs. Record is a JSON object.

Quick Start

$ gem install fluent
$ fluentd &
$ echo '{"json":"message"}' | fluent-cat debug.test
Web site

fluent.github.com/

Documents

fluent.github.com/doc/

Source repository

github.com/fluent

Author

Sadayuki Furuhashi

Copyright

© 2011 FURUHASHI Sadayuki

License

Apache License, Version 2.0

About

Fluent event collector

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Ruby 97.4%
  • Shell 2.6%