Fetching Data from Grafana

Can someone help me on how to fetch the data from Grafana automatically to excel or in json format? Is there any API available for that purpose?

My motivation is to automate this process instead of going to a panel and manually extracting data into excel by clicking on the export as csv option.

@daniellee Plz Help

There is no API currently as this is all done in JavaScript on the frontend. This code is being rewritten for the 7.0 release (which will released in May) so might be easier in the near future.

Here is the GitHub issue: https://github.com/grafana/grafana/issues/20710

Thanks for help @daniellee

1 Like