- Download transformEsData.py
- Open your terminal and go to downloaded path
- Copy this script and replace {your index path} with your index
- Replace username:password for Kibana
- Execute in terminal
curl -XGET -u username:password "http://localhost:9200/{your index path}/_search?filter_path=hits.hits._source" -H 'Content-Type: application/json' -d'{ "query": { "match_all": {} }}' | python transformEsData.py