Exporting index data into csv from kibana

How are you downloading? What are the errors in the logs ? What version of the stack are you on ? screenshots/logs would help.

You can try exporting any Saved Searches from Discover. After creating a Saved Search, exporting can be found under Reporting > Generate CSV :

Thanks
Rashmi