Fluentd input plugin to receive sendgrid event.
SendGrid is a delivering email platform. Please visit below link for the specification of event webhook. https://sendgrid.com/docs/API_Reference/Webhooks/event.html
Add this line to your application's Gemfile:
And then execute:
Or install it yourself as:
$ gem install fluent-plugin-sendgrid-event
The following is an example of configuration.
<source> type sendgrid_event host 127.0.0.1 port 9191 tag sendgrid </source>
You can use basic authentication.
<source> type sendgrid_event host 127.0.0.1 port 9191 tag sendgrid username auth_username password auth_password </source>
If you would like to use ssl, you can enable as below.
<source> type sendgrid_event host 127.0.0.1 port 9191 tag sendgrid ssl true certificate /path/to/certificate.pem private_key /path/to/private_key.key </source>
- Fork it ( http://github.com/hiroakis/fluent-plugin-sendgrid-event/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 new Pull Request