# Data do not appear in grafana; but my influxdb datasource is correct

**URL:** <https://community.grafana.com/t/data-do-not-appear-in-grafana-but-my-influxdb-datasource-is-correct/38230>\
**Category:** InfluxDB\
**Created:** [October 20, 2020, 9:01pm UTC](https://community.grafana.com/t/data-do-not-appear-in-grafana-but-my-influxdb-datasource-is-correct/38230 "2020-10-20T21:01:17Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![fglacoste](https://avatars.discourse-cdn.com/v4/letter/f/eb8c5e/32.png) [@fglacoste](https://community.grafana.com/u/fglacoste)\
**Post date:** [October 20, 2020, 9:01pm UTC](https://community.grafana.com/t/data-do-not-appear-in-grafana-but-my-influxdb-datasource-is-correct/38230/1 "2020-10-20T21:01:17Z")

</div>

Hi, it is honestly only the 2nd time I use grafana.  
Context:  
I first send data to telegraf in influxdb line format , i.e. a string with tagset, fieldset, datetime and measurement name.  
Then telegraf send this data to influxdb. I see the correct data in the influxdb database.  
Then, when I start grafana-server, login the GUI, and configure the influxdb datasource for the right database, it is written in green that this datasource is correct.  
But: when I want to add a dashboard, there is no data in the graphics. it’s empty.  
The question is : why ? and how can I properly see my graphics ?

A special point: the time format in the influxdb database is UNIX time [in ns]. Is it a problem in grafana ?

influxdb: version 1.8

Many thanks by advance !

---

<div class="post-metadata">

**Author:** ![trovalo](https://sea2.discourse-cdn.com/grafana/user_avatar/community.grafana.com/trovalo/32/12968_2.png) [@trovalo](https://community.grafana.com/u/trovalo)\
**Post date:** [October 23, 2020, 10:57am UTC](https://community.grafana.com/t/data-do-not-appear-in-grafana-but-my-influxdb-datasource-is-correct/38230/2 "2020-10-23T10:57:14Z")

</div>

That’s up to the query you use.  
What do you see in your visuals? a string like “no data” or an error of some sort?

Is the query built manually or using the interface?

---

<div class="post-metadata">

**Author:** ![fglacoste](https://avatars.discourse-cdn.com/v4/letter/f/eb8c5e/32.png) [@fglacoste](https://community.grafana.com/u/fglacoste)\
**Post date:** [October 23, 2020, 4:20pm UTC](https://community.grafana.com/t/data-do-not-appear-in-grafana-but-my-influxdb-datasource-is-correct/38230/3 "2020-10-23T16:20:43Z")

</div>

Yes I was seeing only a string saying “no data”. Thank you for your response.

Finally I found the problem: It was in the time format. My data were in the 1970’s because of a silly mistake I have done during the conversion in Unix time…  
And then I had to take the time shift into consideration (UTC vs local time) otherwise my data serie appeared 4 hours in the future and i was still seeing nothing !  
Appropriate time format + right time query ==\> no more problem

---

<div class="post-metadata">

**Author:** ![nomade99](https://avatars.discourse-cdn.com/v4/letter/n/ecb155/32.png) [@nomade99](https://community.grafana.com/u/nomade99)\
**Post date:** [June 12, 2021, 11:46am UTC](https://community.grafana.com/t/data-do-not-appear-in-grafana-but-my-influxdb-datasource-is-correct/38230/4 "2021-06-12T11:46:03Z")

</div>

Hi Fglacoste,  
Actually I am facing similar issue, database connected, but no bucket seen when it comes to dashboard creation. Where did you change time format, in Grafana or in Influxdb? Br.
