Elasticsearch dump using python

i am trying to dump elastic search from one Elasticsearch and import this dump to different Elasticsearch
is there any way to do that using python

Any reason why you want to write python code when the feature already exists out of the box?

See reindex API.

will this work on two different Elasticsearch server?


Hi @vikasmastud

Best solution is as @dadoonet said using reindex.
And if you really want to do it in python check the following documentation:


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