fluentd output plugin for post to ChatWork
fluent-plugin-chatwork | fluentd | ruby |
---|---|---|
>= 2.0.0 | >= v0.14.0 | >= 2.1 |
< 2.0.0 | >= v0.12.0 | >= 1.9 |
$ gem install fluent-plugin-chatwork
<match **>
@type chatwork
api_token YOUR_SECRET_TOKEN
room_id 0000000000
message Hello ChatWork!\n<%= record["value"] %>
</match>
<match **>
@type chatwork
api_token YOUR_SECRET_TOKEN
room_id 0000000000
message Hello ChatWork!\n<%= record["value"] %>
buffered true
<buffer tag>
@type memory
</buffer>
</match>
- api_token
- secret api token
- room_id
- send message to this room
- message
- message content
- support erb format
- support newline character (\n)
- buffered
- Switch non-buffered/buffered output
- Fork it ( https://github.com/sue445/fluent-plugin-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