GithubHelp home page GithubHelp logo

nyamairi / fluent-plugin-chatwork Goto Github PK

View Code? Open in Web Editor NEW

This project forked from sue445/fluent-plugin-chatwork

0.0 2.0 0.0 62 KB

fluentd output plugin for post to chatwork

Home Page: http://rubydoc.info/gems/fluent-plugin-chatwork/frames

License: MIT License

Ruby 100.00%

fluent-plugin-chatwork's Introduction

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

fluent-plugin-chatwork's People

Contributors

cosmo0920 avatar sue445 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.