This blog post is just a short cheat sheet, and this is the command that cancels your last git commit and keeps your local files.
How to save Elasticsearch query results using paging in a bash script automation
This blog post is a short cheat sheet about how to save Elasticsearch query results with paging in a bash script automation. The automation does download all the query results in JSON files as long the paging returns results in the hits of the return JSON. The files are numbered 01.json to XX.json.
