How get 1million documents from elasticsearch?

Hi all!

Help me please.

I have index and i want by api get all documents (~1million) from index for my report.

I've seen the scroll, but I don't understand how to apply it to my case...

How i can do? Thank for advance.

Where do you want to consume the documents then? Write to a file? In an application?

You could read:

Otherwise have a look at logstash with an Elasticsearch input whatever output you need.

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