Very basic script for downloading a specific index from ElasticSearch into a file containing one document per line (json-formatted).
The argparse should be pretty self explanatory.
Call the script by:
python download.py --url=http://my.elastic.search.eu --port=9200 --index=my_index --out=/path/to/output/
Result will be stored in /path/to/output/my_index.json
. Leaving the port argument will neglect ignore the port (might be useful if your ES ist behind nginx. other tools default to adding a default port).