Exporting grafana data as CSV

I’m trying to export the all panel data in a particular dashboard to CSV format.
Is there any API or automated to export all panels data into CSV.

I have a dashboard called prod-webserver which consist of CPU, Memory, and disk. How can I get all the panel data using the API call?

1 Like