fluent-plugin-sendgrid-event
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
Installation
Add this line to your application's Gemfile:
gem 'fluent-plugin-sendgrid-event'
And then execute:
$ bundle
Or install it yourself as:
$ gem install fluent-plugin-sendgrid-event
Usage
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>
Contributing
- 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
License
MIT