Grafana Infinity plugin data source JSON from file

Can I use Infinity plugin that stream JSON from file ? I only found data source option from URL, Inline, Reference, and Azure Blob. As it runs in backend, so I hope I can stream the JSON file directly without having to make an API endpoint for it

welcome to forum

what do you mean stream the json file?

you can for example point to a json file stored in github and add thst as the URL

I put json files in server, it generated from my backend app. Now I want to read these files with Grafana, that’s what I ask

1 Like

Is it on the same server as Grafana? Can you just use URL to it?

1 Like

Yes, on the same server as Grafana

Put your file into one of Grafana’s subfolders (i.e. file.txt into grafana/public/myfiles) and access from Infinity via URL (i.e. https://mygrafanasrv:3000/public/myfiles/file.txt)