How to download local file from Grafana?


I need to create a link to download a file from(through) Grafana. The file is stored on local computer or in network shared folder.
How can this be realized?

I tried to do it with help text panel, but Grafana change links like “file://” on “localhost:3000”.

I think you need to serve the file through a web server.

You can try running a simple server by running the following command on the machine:

Python 2

python -m SimpleHTTPServer 8080

Python 3

python -m http.server 8080

The file should be available on http://localhost:8080/