# Import/export CSV data feeds to elasticsearch

**URL:** <https://discuss.elastic.co/t/import-export-csv-data-feeds-to-elasticsearch/304189>\
**Category:** Elasticsearch\
**Created:** [May 8, 2022, 12:27pm UTC](https://discuss.elastic.co/t/import-export-csv-data-feeds-to-elasticsearch/304189 "2022-05-08T12:27:00Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![Samiul008](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samiul008/32/78659_2.png) [@Samiul008](https://discuss.elastic.co/u/Samiul008)\
**Post date:** [May 8, 2022, 12:27pm UTC](https://discuss.elastic.co/t/import-export-csv-data-feeds-to-elasticsearch/304189/1 "2022-05-08T12:27:00Z")

</div>

Good Day community!

is there any way to automate the process of downloading CSV files from gmail and ingest those to Elasticsearch by creating new indices?

My challenges are following-

1. Downloading the CSV files from my gmail account automatically.
2. Import the CSV files to Elasticsearch by creating automatic indices.

These CSV files are sent to my gmail account automatically everyday which needs to be ingested as my data feeds to the Elasticsearch.

If any alternate idea is out there then please feel free to suggest as well.

Thanks in advance,  
Samiul

---

<div class="post-metadata">

**Author:** ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)\
**Post date:** [May 8, 2022, 10:24pm UTC](https://discuss.elastic.co/t/import-export-csv-data-feeds-to-elasticsearch/304189/2 "2022-05-08T22:24:25Z")

</div>

Welcome to our community! 😃

There's not really a great way to ingest the emails via the Elastic Stack to be honest. You might want to look at something like Zapier/Make.

---

<div class="post-metadata">

**Author:** ![hendry.lim](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/hendry.lim/32/71328_2.png) [@hendry.lim](https://discuss.elastic.co/u/hendry.lim)\
**Post date:** [May 8, 2022, 11:59pm UTC](https://discuss.elastic.co/t/import-export-csv-data-feeds-to-elasticsearch/304189/3 "2022-05-08T23:59:12Z")

</div>

Have you tried Logstash [imap](https://www.elastic.co/guide/en/logstash/current/plugins-inputs-imap.html) input plugin?

---

<div class="post-metadata">

**Author:** ![Samiul008](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samiul008/32/78659_2.png) [@Samiul008](https://discuss.elastic.co/u/Samiul008)\
**Post date:** [May 9, 2022, 5:13am UTC](https://discuss.elastic.co/t/import-export-csv-data-feeds-to-elasticsearch/304189/4 "2022-05-09T05:13:14Z")

</div>

Thanks for the reply. I will be looking into Zapier/Make

---

<div class="post-metadata">

**Author:** ![Samiul008](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/samiul008/32/78659_2.png) [@Samiul008](https://discuss.elastic.co/u/Samiul008)\
**Post date:** [May 9, 2022, 5:18am UTC](https://discuss.elastic.co/t/import-export-csv-data-feeds-to-elasticsearch/304189/5 "2022-05-09T05:18:27Z")

</div>

Thanks for the reply. No, i have not tried with any logstash input plugin. If you could please give me some resources to study that would be really helpful 🙂

---

<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:** [June 6, 2022, 5:19am UTC](https://discuss.elastic.co/t/import-export-csv-data-feeds-to-elasticsearch/304189/6 "2022-06-06T05:19:26Z")

</div>

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