Fluent::Plugin::Webhook::Github
fluentd input plugin for incoming webhook from GitHub.
(Work in progress. I don't recommend to use this in production)
Installation
$ gem install fluent-plugin-webhook-github
Usage
<source>
type webhook_github
tag gh
secret THE_SECRET_STRING_YOU_SET # the hook's secret. optional, but strongly recommended.
# optional (values are default)
bind 0.0.0.0
port 8080
mount /
with_payload false
</source>
<match gh.*>
type stdout
</match>
<match gh.pull_request>
type hipchat
</match>
Contributing
- Fork it ( https://github.com/uu59/fluent-plugin-webhook-github/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