CSV as DataSource how to add path?

Hi

I installed grafana on Widnows and add plugin for csv, but how to add path for the source files, I try in vew localizations but always the same error, could you help ?

I add this below for config files, both sample.ini and defaults.ini

[plugin.marcusolsson-csv-datasource]
allow_local_mode = true

I try use path like this:
C:/Program Files/GrafanaLabs/grafana/data/csv/test_wifi_2022-05-19.csv
C:\Program Files\GrafanaLabs\grafana\data\csv\test_wifi_2022-05-19.csv

the problem is tha same

Query error

Get “c:\Program Files\GrafanaLabs\grafana\data\csv\test_wifi_2022-05-19.csv”: unsupported protocol scheme “c”

what does your data source configuration look like?

1 Like

Solved, many thanks the problem was that I had " " but correct is"/" the source for the path and only the catalog name without name of the csv files.

2 Likes

and then if you look at the Path in the dashboard it says “relative path” meaning relative to this path you have configured in data source.
Also as a recommendation, I would not put that file in your Program Files. What if tomorrow you have a process where by users or some automated process needs to dump csv files.

I would create it outside of the application folder.

Hi, i have same issue
am getting error with this input as Path
‪C:/Users/rd/tempdatafolder

Did you enabile above to true in your grafana.ini or sample.ini file and restarted the Grafana server so that it load the new changes?

For latecomers to this thread, please do not use the CSV plugin (it is deprecated), use the Infinity Data source plugin instead for visualizing CSV. Full instructions here: