Sha256: 59c935286db9b5f471eca50249630392f178de2b96c3007793feb21e52c0455f
Contents?: true
Size: 1.31 KB
Versions: 1
Compression:
Stored size: 1.31 KB
Contents
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. <source> type munin interval 60s tag_prefix rewrite.munin record_hostname yes convert_type yes </source> # 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." <match rewrite.munin.*> type rewrite_tag_filter rewriterule1 service ^df$ td.munin.diskfree rewriterule2 service ^(.+)$ td.munin.$1 </match> <match td.*.*> type tdlog apikey YOUR_API_KEY auto_create_table buffer_type file buffer_path /var/log/td-agent/buffer/td use_ssl true </match> # treasure data stored sample. # $ td tables # +----------+---------------------+------+-------+--------+ # | Database | Table | Type | Count | Schema | # +----------+---------------------+------+-------+--------+ # | munin | cpu | log | 5 | | # | munin | diskfree | log | 5 | | # +----------+---------------------+------+-------+--------+ # 2 rows in set
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
fluent-plugin-munin-0.3.2 | example.conf |