https://github.com/hiroakis/fluent-plugin-sendgrid-event
https://github.com/hiroakis/fluent-plugin-sendgrid-event
Last synced: 8 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/hiroakis/fluent-plugin-sendgrid-event
- Owner: hiroakis
- Created: 2016-01-12T18:04:29.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2020-11-11T15:54:34.000Z (over 5 years ago)
- Last Synced: 2024-10-02T23:36:46.214Z (over 1 year ago)
- Language: Ruby
- Size: 11.7 KB
- Stars: 6
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# 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:
```ruby
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.
```
type sendgrid_event
host 127.0.0.1
port 9191
tag sendgrid
```
You can use basic authentication.
```
type sendgrid_event
host 127.0.0.1
port 9191
tag sendgrid
username auth_username
password auth_password
```
If you would like to use ssl, you can enable as below.
```
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
```
## Contributing
1. Fork it ( http://github.com/hiroakis/fluent-plugin-sendgrid-event/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 new Pull Request
## License
MIT