The simple web API interface for Fluentd.
require 'rest-client'
json = {"hoge" => "fuga"}
tag = "debug.forward"
response = RestClient.post('http://username:password@hostname/url',
{:tag => tag, :data => json},
{:content_type => :json, :accept => :json})
bundle install --path=vendor/bundler
Start the app by running:
bundle exec rake s