Convert Elasticsearch output to CSV file using "jq"

Hi Team

Could you please help me with syntax of jq to be used for getting , entire "_source" contents of elasticsearch index into single row of csv file.

I am trying out multiple ways but its not working ...

Tushar Nemade

I meant , multiple doc records in _source , in each row , one by one in csv format.