# Grafana Infinity plugin data source JSON from file

**URL:** <https://community.grafana.com/t/grafana-infinity-plugin-data-source-json-from-file/127186>\
**Category:** Configuration\
**Tags:** json, json-api-datasource, plugins\
**Created:** [July 26, 2024, 3:01pm UTC](https://community.grafana.com/t/grafana-infinity-plugin-data-source-json-from-file/127186 "2024-07-26T15:01:24Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![ahmadhabibi14](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ahmadhabibi14/32/47553_2.png) [@ahmadhabibi14](https://community.grafana.com/u/ahmadhabibi14)\
**Post date:** [July 26, 2024, 3:01pm UTC](https://community.grafana.com/t/grafana-infinity-plugin-data-source-json-from-file/127186/1 "2024-07-26T15:01:25Z")

</div>

Can I use **[Infinity](https://grafana.com/grafana/plugins/yesoreyeram-infinity-datasource/)** 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

---

<div class="post-metadata">

**Author:** ![yosiasz](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/yosiasz/32/45847_2.png) [@yosiasz](https://community.grafana.com/u/yosiasz)\
**Post date:** [July 26, 2024, 3:42pm UTC](https://community.grafana.com/t/grafana-infinity-plugin-data-source-json-from-file/127186/2 "2024-07-26T15:42:08Z")

</div>

> [@ahmadhabibi14](#):
>
> stream the JSON file directly

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

---

<div class="post-metadata">

**Author:** ![ahmadhabibi14](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ahmadhabibi14/32/47553_2.png) [@ahmadhabibi14](https://community.grafana.com/u/ahmadhabibi14)\
**Post date:** [August 3, 2024, 3:00am UTC](https://community.grafana.com/t/grafana-infinity-plugin-data-source-json-from-file/127186/3 "2024-08-03T03:00:13Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ebabeshko](https://avatars.discourse-cdn.com/v4/letter/e/9d8465/32.png) [@ebabeshko](https://community.grafana.com/u/ebabeshko)\
**Post date:** [August 3, 2024, 4:07am UTC](https://community.grafana.com/t/grafana-infinity-plugin-data-source-json-from-file/127186/4 "2024-08-03T04:07:46Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![ahmadhabibi14](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/ahmadhabibi14/32/47553_2.png) [@ahmadhabibi14](https://community.grafana.com/u/ahmadhabibi14)\
**Post date:** [September 27, 2024, 2:57pm UTC](https://community.grafana.com/t/grafana-infinity-plugin-data-source-json-from-file/127186/5 "2024-09-27T14:57:43Z")

</div>

Yes, on the same server as Grafana

---

<div class="post-metadata">

**Author:** ![ebabeshko](https://avatars.discourse-cdn.com/v4/letter/e/9d8465/32.png) [@ebabeshko](https://community.grafana.com/u/ebabeshko)\
**Post date:** [September 28, 2024, 5:50am UTC](https://community.grafana.com/t/grafana-infinity-plugin-data-source-json-from-file/127186/6 "2024-09-28T05:50:54Z")

</div>

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`)
