Output plugin for InfluxDB.
see Rinflux gem.
Add this line to your application's Gemfile:
# install rinflux
git clone https://github.com/winebarrel/rinflux.git
cd rinflux
bundle install
bundle exec rake install
cd ..
# install fluent-plugin-rinflux
git clone https://github.com/winebarrel/fluent-plugin-rinflux.git
cd fluent-plugin-rinflux
bundle install
bundle exec rake install
<match influxdb.**>
type rinflux
db mydb
#host localhost
#port 8086
</match>
echo '{"disk_free":442221834240}' | fluent-cat influxdb.data
echo '{"disk_free":442221834240,"tags":{"hostname":"server01","disk_type":"SSD"}}' | fluent-cat influxdb.data
echo '{"disk_free":{"free_space":442221834240,"disk_type":"SSD"}' | fluent-cat influxdb.data