fluent-plugin-out_chatwork

fluentd output plugin for post to ChatWork

Gem Version Build Status Dependency Status

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

full changelog

  • Support newline character in message

0.0.2

full changelog

  • Support erb in message

0.0.1

  • Initial commit

Contributing

  1. Fork it ( https://github.com/sue445/fluent-plugin-out_chatwork/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request