How can I export all documents in an index for later reuse?

What I’m looking for is exactly what Kibana does when installing sample data.
It imports all the data of the samples and updates the timestamp relative to current time:

What is the best approach for doing that?

I've been trying with snapshots and BULK updates, but I didn't get it done. Any inspiring idea?

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