Fluentd is a log collector that makes log collection easy. It allows users to collect, store, process, and visualize logs in JSON format. Fluentd works by using input plugins to collect logs, output plugins to export logs to different databases and storage systems, and buffer plugins to filter and route logs. Key features include its large number of plugins, support for JSON formatting, and ability to automatically handle failures and retries.
2. Self-introduction
> Sadayuki Furuhashi
twitter/github: @frsyuki
> Treasure Data, Inc.
Founder & Software Architect
> Open source projects
MessagePack - “It’s like JSON. but fast and small”
Fluentd - “Log everything in JSON”
20. routing / copying
Hadoop
apache
fluentd
in_tail
access.log buffer
Amazon S3
✓ routing based on tags
✓ copy to multiple storages
21. # logs from a file # store logs to MongoDB and S3
<source> <match **>
type tail type copy
path /var/log/httpd.log
format apache2 <match>
tag web.access type mongo
</source> host mongo.example.com
capped
# logs from client libraries capped_size 200m
<source> </match>
type forward
port 24224 <match>
</source> type s3
path archive/
</match>
</match>
Fluentd