An open API service indexing awesome lists of open source software.

https://github.com/hiroakis/fluent-plugin-sendgrid-event


https://github.com/hiroakis/fluent-plugin-sendgrid-event

Last synced: 8 months ago
JSON representation

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