# Is there a way to import a csv into dashboard

**URL:** <https://community.grafana.com/t/is-there-a-way-to-import-a-csv-into-dashboard/25422>\
**Category:** Dashboards\
**Created:** [January 31, 2020, 2:39pm UTC](https://community.grafana.com/t/is-there-a-way-to-import-a-csv-into-dashboard/25422 "2020-01-31T14:39:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![muralikottakota](https://avatars.discourse-cdn.com/v4/letter/m/6de8d8/32.png) [@muralikottakota](https://community.grafana.com/u/muralikottakota)\
**Post date:** [January 31, 2020, 2:39pm UTC](https://community.grafana.com/t/is-there-a-way-to-import-a-csv-into-dashboard/25422/1 "2020-01-31T14:39:54Z")

</div>

My requirement is to import a csv into Grafana dashboard, and do all kinds of filtering in Grafana dashboard. Is there a way to import csv in Grafana?

---

<div class="post-metadata">

**Author:** ![hary66](https://avatars.discourse-cdn.com/v4/letter/h/a87d85/32.png) [@hary66](https://community.grafana.com/u/hary66)\
**Post date:** [January 31, 2020, 3:30pm UTC](https://community.grafana.com/t/is-there-a-way-to-import-a-csv-into-dashboard/25422/2 "2020-01-31T15:30:07Z")

</div>

Hi Muralikottakota  
I’m trying the same, but wasn’t successful yet.

It seems, you Grafana need to get the data from a database like InfluxDB.  
So first, you need to move your data from CSV to InfluxDB .

There is a tool for doing so witch is telegraf.  
Must you must give telegraf a telegraf.conf file, to let know how are your data organised in the CSV, so telegraf can manage your data as expected.

> **[influxdata/telegraf](https://github.com/influxdata/telegraf)**
>
> The plugin-driven server agent for collecting & reporting metrics. - influxdata/telegraf

  

> <https://github.com/influxdata/telegraf/blob/master/etc/telegraf.conf>

Hope this can help.  
Could you tell if you’re successful.

---

<div class="post-metadata">

**Author:** ![malamgir](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/malamgir/32/9479_2.png) [@malamgir](https://community.grafana.com/u/malamgir)\
**Post date:** [February 3, 2020, 5:38am UTC](https://community.grafana.com/t/is-there-a-way-to-import-a-csv-into-dashboard/25422/3 "2020-02-03T05:38:00Z")

</div>

Alternative way .

[https://www.influxdata.com/blog/getting-started-writing-data-to-influxdb/](https://www.influxdata.com/blog/getting-started-writing-data-to-influxdb/)

---

<div class="post-metadata">

**Author:** ![g0nz0uk](https://avatars.discourse-cdn.com/v4/letter/g/5f8ce5/32.png) [@g0nz0uk](https://community.grafana.com/u/g0nz0uk)\
**Post date:** [December 20, 2020, 5:14pm UTC](https://community.grafana.com/t/is-there-a-way-to-import-a-csv-into-dashboard/25422/4 "2020-12-20T17:14:07Z")

</div>

Hi, I know this is old, but yes you can. I used the cab plugin this week and it’s excellent. You need to put the csv into a website like IIS and point to that. I have a power shell script outing my csv there every 5 mins.

---

<div class="post-metadata">

**Author:** ![davidallen5](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/davidallen5/32/32092_2.png) [@davidallen5](https://community.grafana.com/u/davidallen5)\
**Post date:** [March 16, 2023, 6:00pm UTC](https://community.grafana.com/t/is-there-a-way-to-import-a-csv-into-dashboard/25422/5 "2023-03-16T18:00:22Z")

</div>

Hi all - late reply to this thread but since this topic was originally posted, a CSV plugin is available for Grafana here:

> **[CSV plugin for Grafana | Grafana Labs](https://grafana.com/grafana/plugins/marcusolsson-csv-datasource/)**
>
> A data source for loading CSV data

The basics of this plugin is that if you install it into your Grafana, it will allow you to create a data source that fetches CSV from anything you can address with a URL endpoint. For example, there is a public GDELT API that returns CSV data about news headlines around the world. If I wanted to get CSV out of this:

`https://api.gdeltproject.org/api/v2/doc/doc?query=grafana&mode=timelinevolinfo&TIMELINESMOOTH=5&format=csv`

Then I could use the CSV plugin linked above, specifying `https://api.gdeltproject.org/api/v2/doc/doc` as the URL, and then in the “Misc” section, specifying `query=grafana&mode=timelinevolinfo&TIMELINESMOOTH=5&format=csv` as the query param.

This is pretty flexible because any kind of CSV data you can get from any endpoint gets into Grafana easily, like any other data source.
