telegraf/plugins/inputs/webhooks/mandrill
François de Metz 1c2965703d Webhooks plugin: add mandrill (#1408)
* Add mandrill webhook.

* Store the id of the msg as part of event.

Signed-off-by: Cyril Duez <cyril@stormz.me>
Signed-off-by: François de Metz <francois@stormz.me>

* Decode body to get the mandrill_events.

Signed-off-by: Cyril Duez <cyril@stormz.me>
Signed-off-by: François de Metz <francois@stormz.me>

* Handle HEAD request.

Signed-off-by: Cyril Duez <cyril@stormz.me>
Signed-off-by: François de Metz <francois@stormz.me>

* Add the README.

Signed-off-by: Cyril Duez <cyril@stormz.me>
Signed-off-by: François de Metz <francois@stormz.me>

* Add mandrill_webhooks to the README.

Signed-off-by: Cyril Duez <cyril@stormz.me>
Signed-off-by: François de Metz <francois@stormz.me>

* Update changelog.

Signed-off-by: Cyril Duez <cyril@stormz.me>
Signed-off-by: François de Metz <francois@stormz.me>

* Run gofmt.

Signed-off-by: Cyril Duez <cyril@stormz.me>
Signed-off-by: François de Metz <francois@stormz.me>
2016-07-18 12:41:13 +01:00
..
README.md Webhooks plugin: add mandrill (#1408) 2016-07-18 12:41:13 +01:00
mandrill_webhooks.go Webhooks plugin: add mandrill (#1408) 2016-07-18 12:41:13 +01:00
mandrill_webhooks_events.go Webhooks plugin: add mandrill (#1408) 2016-07-18 12:41:13 +01:00
mandrill_webhooks_events_json_test.go Webhooks plugin: add mandrill (#1408) 2016-07-18 12:41:13 +01:00
mandrill_webhooks_test.go Webhooks plugin: add mandrill (#1408) 2016-07-18 12:41:13 +01:00

README.md

mandrill webhook

You should configure your Mandrill's Webhooks to point at the webhooks service. To do this go to mandrillapp.com/ and click Settings > Webhooks. In the resulting page, click on Add a Webhook, select all events, and set the URL to http://<my_ip>:1619/mandrill, and click on Create Webhook.

Events

See the webhook doc.

All events for logs the original timestamp, the event name and the unique identifier of the message that generated the event.

Tags:

  • 'event' = event.event string

Fields:

  • 'id' = event._id string