# How to load emails into ES instance

**URL:** https://discuss.elastic.co/t/how-to-load-emails-into-es-instance/145614
**Category:** Logstash
**Created:** [August 22, 2018, 9:12pm UTC](https://discuss.elastic.co/t/how-to-load-emails-into-es-instance/145614 "2018-08-22T21:12:14Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Edward\_Pratt](https://avatars.discourse-cdn.com/v4/letter/e/71c47a/32.png) [@Edward\_Pratt](https://discuss.elastic.co/u/Edward_Pratt)
#### Post date: [August 22, 2018, 9:12pm UTC](https://discuss.elastic.co/t/how-to-load-emails-into-es-instance/145614/1 "2018-08-22T21:12:14Z")

</div>

I've used this guide below to forward emails from a server to my ES instance using logstash imap plugin:

> **[Indexing Emails to Elasticsearch with Logstash](https://qbox.io/blog/indexing-emails-to-elasticsearch-logstash-imap)**
>
> Is there a simple way to index emails to Elasticsearch? Logstash is the answer. Logstash is an open source, server-side data processing pipeline that ingests data from a multitude of sources simultaneously, transforms it, and then sends it to...

Anyone have recommendations on getting the historical data (i.e. the rest of the emails that are in the inbox prior to using logstash)?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [September 19, 2018, 9:26pm UTC](https://discuss.elastic.co/t/how-to-load-emails-into-es-instance/145614/2 "2018-09-19T21:26:17Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
