Saving a graph to png in the command line

Hi,

I am trying to save a graph to file in the command line. I can’t really figure out a way how to achieve that, as the link graphana gives needs to be processed by a browser.
I’ve got Grafana on a Raspberry Pi, and I want it to copy the image via SSH to a webserver. (I don’t have access to the router, so I can’t forward the port to the raspberry, hence I want to upload a rendered graph)

Is there any way I can do that?

1 Like