# Extract data from elasticsearch and store into mongodb

**URL:** <https://discuss.elastic.co/t/extract-data-from-elasticsearch-and-store-into-mongodb/318337>\
**Category:** Elasticsearch\
**Created:** [November 7, 2022, 2:22pm UTC](https://discuss.elastic.co/t/extract-data-from-elasticsearch-and-store-into-mongodb/318337 "2022-11-07T14:22:05Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![carly.richmond](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/carly.richmond/32/104935_2.png) [@carly.richmond](https://discuss.elastic.co/u/carly.richmond)\
**Post date:** [November 7, 2022, 5:30pm UTC](https://discuss.elastic.co/t/extract-data-from-elasticsearch-and-store-into-mongodb/318337/2 "2022-11-07T17:30:23Z")

</div>

Hi Chinmoy,

Does it have to be done using Python? There is a similar question from February that suggests trying Logstash with an http output which might help:

> [@Can i export data from elasticsearch into mongodb database?](https://discuss.elastic.co/t/can-i-export-data-from-elasticsearch-into-mongodb-database/296118):
>
> Hi, I would like to know can I export data from Elasticsearch to mongodb? or from Elasticsearch to another database? I prefer Mongodb but if it is not possible I would like to know which database can I use and how if there is an example because I did not find. I have amount of data in Elasticsearch that's why i would to export it in another database. Any help would be sincerely appreciate!

---

_[View the full topic](https://discuss.elastic.co/t/extract-data-from-elasticsearch-and-store-into-mongodb/318337)._
