Chef::Handler::Fluentd
Handler for Chef to send logs to Fluentd
Usage
Install:
gem install chef-handler-fluentd
Set up handler:
# solo.rb / client.rb
require 'chef/handler/fluentd'
handler = Chef::Handler::Fluentd.new('chef', host: 'localhost', port: 24224)
exception_handlers << handler
report_handlers << handler
Contributing
- Fork it ( http://github.com//chef-handler-fluentd/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request