Using ElasticSearch and Logstash to serve billions of searchable events for customers

We recently launched a new version of our Events API that lets you easily keep track of all your messages,

We recently launched a new version of our Events API that lets you easily keep track of all your messages, including exactly what happened to them after they were delivered. In that blog, we mentioned briefly that we built this new API on top of Elasticsearch and that we’d be doing a more detailed post about how we architected it. Today is the day.

One of the Mailgunners, Ralph Meijer, described our set up on the Elasticsearch blog today. Head over and check out the post for all the details. There was also an interesting discussion about the post on HackerNews with some additional technical details.

In the post, we cover:

  • Why we chose Elasticsearch

  • How we use Logstash to get logs into Elasticsearch

  • Index design

  • Monitoring

  • Setting up a scalable Elasticsearch cluster

Happy sending!

The Mailgunners

Related readings

New events API, detailed email tracking and search

The completely refactored Events API makes it easy and fast to determine exactly what happened with each and every one of your emails.

Read more

The PHP SDK: The first of many official Mailgun SDKs

The PHP SDK allows you to easily interact with our API by yanking all the boiler plate code necessary to interact with an HTTP web service. Read more –

Read more

Sending email using the Mailgun PHP API

It’s been a while since the Mailgun PHP SDK came around, and we’ve seen lots of changes: new functionalities, new integrations built on top, new API endpoints…yet the core of PHP is the same. Since it was the first SDK for the Mailgun API, it’s had time to mature and go through iterations that make it easy to use – which we realized when we gave it a try.

Read more

Popular posts

Mailgun iconSee what you can accomplish with the world's best email delivery platform. It's easy to get started.Let's get sending