Export all document to either JSON or CSV

Hello, I know this might be a basic question, but I believe everybody has to learn from some point.

I am trying hard to learn Elasticsearch and as I was going through the documentation at this page


I learned how to load a JSON data and form an index. But later an question arose in my head, how would I be able to export the whole index that I created (here the bank) to CSV or a JSON. Since I couldn't find a solution in Kibana, I searched Github and came across this python script 'es2csv'.


I installed it, but I can't make an output to a format that it should appear in a CSV file. Please, could you help me understand what should I do because it is vital for me to learn.

1 Like

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