No release in over a year
fluentd output plugin for post to chatwork
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

Runtime

>= 0.4.0
>= 0.14.15, < 2
 Project Readme

fluent-plugin-chatwork

fluentd output plugin for post to ChatWork

Gem Version Build Status Coverage Status Code Climate Inline docs

Requirements

fluent-plugin-chatwork fluentd ruby
>= 2.0.0 >= v0.14.0 >= 2.1
< 2.0.0 >= v0.12.0 >= 1.9

Installation

$ gem install fluent-plugin-chatwork

Configure

For non-buffered

<match **>
  @type        chatwork
  api_token    YOUR_SECRET_TOKEN
  room_id      0000000000
  message      Hello ChatWork!\n<%= record["value"] %>
</match>

For buffered

<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

Contributing

  1. Fork it ( https://github.com/sue445/fluent-plugin-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