I need to download the CSV data that generated by Kibana dashboard.
I'm struggling with selenium to automate the manual download without much luck
But it seems like very not generic and robust way to do that, looking for css and class elements which probably change between versions and will probably break.
If i understood correctly there isn't formal API for that
there is no API to download CSV from a visualization on a dashboard. This export and generation of CSV is happening client-side in your browser for the data loaded, thus nothing that has a server side API.
You can though inspect the query that is send behind that chart and potentially just write your own script that sends that query to Elasticsearch directly and converts it into a CSV, but currently Kibana doesn't offer something for that.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.