Comma Delimited file of ElasticSearch query

How can I create a CSV from an ElasticSearch query?

You'd have to build it yourself.

That or use Kibana, you can export to CSV with that.