Can i export data from elasticsearch into mongodb database?

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!


Out of curiosity, why not keeping everything into Elasticsearch?

You could I believe use Logstash to read data from Elasticsearch and with an http output, write to MongoDB maybe? Or to a 3rd party service which could write to MongoDB.

Or write your own code to do it.

Thanks, another question please can i export data in local folder automatically from Elasticsearch ?

Not really. It could be but that will be hard IMO.

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