Download the contents of es index to csv

Hi Team,

Is there a plugin, which can assist me in downloading the contents of an elasticsearch index into a csv file?.

We currently are at elk stack 5.5.0.

XPack Reporting (commercial) can do that but I don't remember exactly in which version this is coming. May be 6.0 only?

Otherwise you can use logstash I believe for that:

HTH