It is a sample to send munin metrics to treasuredata. # appearing plugins: # munin: http://rubygems.org/gems/fluent-plugin-munin # rewrite_tag_filter: http://rubygems.org/gems/fluent-plugin-rewrite-tag-filter # tdlog: http://rubygems.org/gems/fluent-plugin-td # recieve all metrics from munin. type munin interval 60s tag_prefix rewrite.munin record_hostname yes convert_type yes # rewrite tag for "df" to pass the treasuredata table name length limitation. # It could avoid the error below. # "Name must be 3 to 256 characters, got 2 characters." type rewrite_tag_filter rewriterule1 service ^df$ td.munin.diskfree rewriterule2 service ^(.+)$ td.munin.$1 type tdlog apikey YOUR_API_KEY auto_create_table buffer_type file buffer_path /var/log/td-agent/buffer/td use_ssl true # treasure data stored sample. # $ td tables # +----------+---------------------+------+-------+--------+ # | Database | Table | Type | Count | Schema | # +----------+---------------------+------+-------+--------+ # | munin | cpu | log | 5 | | # | munin | diskfree | log | 5 | | # +----------+---------------------+------+-------+--------+ # 2 rows in set