Handler for Chef to send logs to Fluentd
MIT License
Handler for Chef to send logs to Fluentd
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
git checkout -b my-new-feature
)git commit -am 'Add some feature'
)git push origin my-new-feature
)