How to import data from elasticsearch into mongo?

Now, I have amount of data in elasticsearch, I want to import the all of indexs in elasticsearch into mongodb.

I searched google for a long time, but there are many links about import data into elasticsearch from mongodb.

I find there is a plugin named "logstash-output-mongo", I think it has the function of import the all of index in elasticsearch into mongodb. But I don't know how to use it.

Any help would be sincerely appreciate!

I'd ask in #logstash forum.

You can look at elasticsearch input plugin and mongodb output plugin.

Thanks, I now have the basic method to proess it.

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