README
¶
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
Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type MandrillEvent ¶
type MandrillEvent struct { EventName string `json:"event"` TimeStamp int64 `json:"ts"` ID string `json:"_id"` }
func (*MandrillEvent) Fields ¶
func (me *MandrillEvent) Fields() map[string]interface{}
func (*MandrillEvent) Tags ¶
func (me *MandrillEvent) Tags() map[string]string
type MandrillWebhook ¶
type MandrillWebhook struct { Path string // contains filtered or unexported fields }
func (*MandrillWebhook) Register ¶
func (md *MandrillWebhook) Register(router *mux.Router, acc telegraf.Accumulator)
Click to show internal directories.
Click to hide internal directories.