fluent-plugin-out_chatwork
fluentd output plugin for post to ChatWork
Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-out_chatwork'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-out_chatwork
Configure
<match **>
type chatwork
api_token YOUR_SECRET_TOKEN
room_id 0000000000
message Hello ChatWork!\n<%= record["value"] %>
</match>
- api_token
- secret api token
- room_id
- send message to this room
- message
- message content
- support erb format
- support newline character (\n)
Changelog
master
- Support newline character in message
0.0.2
- Support erb in message
0.0.1
- Initial commit
Contributing
- Fork it ( https://github.com/sue445/fluent-plugin-out_chatwork/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 a new Pull Request