# Chronograf Dashboard Giving No Results

**URL:** https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985
**Category:** Systems
**Tags:** chronograf
**Created:** [November 20, 2019, 4:38am UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985 "2019-11-20T04:38:09Z")
**Posts on this page:** 10
**Page:** 1

<div class="post-metadata">

### Author: ![Storm\_Trooper](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/storm_trooper/32/3913_2.png) [@Storm\_Trooper](https://community.influxdata.com/u/Storm_Trooper)
#### Post date: [November 20, 2019, 4:38am UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985/1 "2019-11-20T04:38:09Z")

</div>

Hello,

First time posting and relatively new to the influxdata applications. First off great set these guys have produced, absolutely loving the ease so far of getting what I need out of them.

I have got some data going into influxdb via the mqtt plugin of telegraf. No issues with any of that. The payload of my mqtt topic is formatted in influx line protocol and has the timestamp on the end in unix down to the ns. The timestamp of the event is quite crucial for my application so this is why the timestamp is in there, I do not want the data in influxdb to be timestamped with the time it is written into the database.

The issue I am experiencing is within chronograf. If I have a query using “WHERE time \> :dashboardTime:” it will always return no results. If I then stop sending messages containing a timestamp I can get the dashboards in chronograf to work as desired. Put the timestamp back in and it all falls apart.

I do not want to hardcode a time \> now() - 1 day into the query as I want the user to be able to do this via the relative time picker at the top of the graphs.

Has anybody experienced this issue or know how to get around it?

---

<div class="post-metadata">

### Author: ![scott](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/scott/32/16492_2.png) [@scott](https://community.influxdata.com/u/scott)
#### Post date: [November 20, 2019, 3:49pm UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985/2 "2019-11-20T15:49:08Z")

</div>

@Storm_Trooper If I had to guess, this sounds like the precision of your timestamps doesn’t match what InfluxDB is expecting. By default, InfluxDB assumes timestamps are in nanoseconds. If the timestamps you’re providing aren’t nanosecond timestamps, then they are likely falling outside of your query time range.

```auto
1574208000000000000 --> 2019-11-20T00:00:00Z
1574208000000 --> 1970-01-01T00:26:14Z

```

Just be sure that you’re actually sending ns timestamps.

---

<div class="post-metadata">

### Author: ![Storm\_Trooper](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/storm_trooper/32/3913_2.png) [@Storm\_Trooper](https://community.influxdata.com/u/Storm_Trooper)
#### Post date: [November 20, 2019, 5:18pm UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985/3 "2019-11-20T17:18:46Z")

</div>

@scott See below some example messages that are being sent.

TestEvents,Equip=T09-238 GlobalID=50957761,Tag=0014822292 1564640520887000000  
TestEvents,Equip=T09-238 GlobalID=50957762,Tag=0014730789 1564640530592000000  
TestEvents,Equip=T09-238 GlobalID=50957763,Tag=0014821289 1564640534947000000  
TestEvents,Equip=T09-238 GlobalID=50957764,Tag=0014822196 1564640542697000000  
TestEvents,Equip=T09-238 GlobalID=50957765,Tag=0014822197 1564640548852000000  
TestEvents,Equip=T09-238 GlobalID=50957766,Tag=0014822291 1564640555092000000  
TestEvents,Equip=T09-238 GlobalID=50957767,Tag=0014771419 1564640560407000000  
TestEvents,Equip=T09-238 GlobalID=50957768,Tag=0014753145 1564640566912000000  
TestEvents,Equip=T09-238 GlobalID=50957769,Tag=0014822233 1564640579747000000  
TestEvents,Equip=T09-238 GlobalID=50957770,Tag=0014807891 1564641847012000000  
TestEvents,Equip=T09-238 GlobalID=50957771,Tag=0014721469 1564641850102000000  
TestEvents,Equip=T09-238 GlobalID=50957772,Tag=0014721470 1564641856767000000  
TestEvents,Equip=T09-238 GlobalID=50957773,Tag=0014823386 1564641860117000000  
TestEvents,Equip=T09-238 GlobalID=50957774,Tag=0014806176 1564641866282000000  
TestEvents,Equip=T09-238 GlobalID=50957775,Tag=0014820933 1564641869902000000  
TestEvents,Equip=T09-238 GlobalID=50957776,Tag=0014819934 1564641873607000000  
TestEvents,Equip=T09-238 GlobalID=50957777,Tag=0014723448 1564641876887000000  
TestEvents,Equip=T09-238 GlobalID=50957785,Tag=0000000000 1564641884637000000  
TestEvents,Equip=T09-238 GlobalID=50957779,Tag=0014824761 1564641888422000000  
TestEvents,Equip=T09-238 GlobalID=50957780,Tag=0014824204 1564641891683000000

---

<div class="post-metadata">

### Author: ![scott](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/scott/32/16492_2.png) [@scott](https://community.influxdata.com/u/scott)
#### Post date: [November 20, 2019, 5:33pm UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985/4 "2019-11-20T17:33:17Z")

</div>

@Storm_Trooper, looks like your timestamps are good. That sample dataset covers the following timerange:

```auto
1564640520887000000 --> 2019-08-01T06:22:00.887000000Z
...
1564641891683000000 -- >2019-08-01T06:44:51.683000000Z

```

Is the selected date/time range in your dashboard set to pull data from August of this year?

---

<div class="post-metadata">

### Author: ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)
#### Post date: [November 20, 2019, 5:55pm UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985/5 "2019-11-20T17:55:25Z")

</div>

@Storm_Trooper,  
What version of InfluxDB and Chronograf are you using?

---

<div class="post-metadata">

### Author: ![Storm\_Trooper](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/storm_trooper/32/3913_2.png) [@Storm\_Trooper](https://community.influxdata.com/u/Storm_Trooper)
#### Post date: [November 21, 2019, 5:31am UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985/6 "2019-11-21T05:31:27Z")

</div>

@scott I have tried with the date picker to go back to the date from August and it does not work. I have also tried updating the timestamp so that the date falls within the last 24h relative date selection and it does not work. All I get is “Your query is syntactically correct but returned no results”

@Anaisdg InfluxDB is on version 1.7.9 and Chronograf is on version 1.7.14

---

<div class="post-metadata">

### Author: ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)
#### Post date: [November 21, 2019, 3:15pm UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985/7 "2019-11-21T15:15:29Z")

</div>

@Storm_Trooper,  
Can you please share two screen shots?

1. of chronograf with the query with the absolute times that works
2. of chronograf with the query with the dashboard times that doesn’t

Thank you,  
Anais

---

<div class="post-metadata">

### Author: ![Storm\_Trooper](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/storm_trooper/32/3913_2.png) [@Storm\_Trooper](https://community.influxdata.com/u/Storm_Trooper)
#### Post date: [November 21, 2019, 4:54pm UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985/8 "2019-11-21T16:54:23Z")

</div>

@Anaisdg  
Loaded the following 5 entries into InfluxDB:  
TestEvents,Equip=T09-238 GlobalID=50957761,Tag=0014822292 1574310120887000000  
TestEvents,Equip=T09-238 GlobalID=50957762,Tag=0014730789 1574306530592000000  
TestEvents,Equip=T09-238 GlobalID=50957763,Tag=0014821289 1574302934947000000  
TestEvents,Equip=T09-238 GlobalID=50957764,Tag=0014822196 1574299342697000000  
TestEvents,Equip=T09-238 GlobalID=50957765,Tag=0014822197 1574295748852000000

And Murphy’s law now it is working from the relative selected on the dashboard.

 ![image](https://us1.discourse-cdn.com/flex023/uploads/influxdata/original/2X/f/ffe69bb6a84d89619295c2f6b5cc502c30f4ab5b.png)

---

<div class="post-metadata">

### Author: ![Anaisdg](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/anaisdg/32/6401_2.png) [@Anaisdg](https://community.influxdata.com/u/Anaisdg)
#### Post date: [November 22, 2019, 5:04pm UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985/9 "2019-11-22T17:04:35Z")

</div>

@Storm_Trooper,  
Glad to hear it’s working again! Just make sure to take a screen shot if it’s not working again, and we’ll try to get to the bottom of it.

---

<div class="post-metadata">

### Author: ![Storm\_Trooper](https://sea1.discourse-cdn.com/flex023/user_avatar/community.influxdata.com/storm_trooper/32/3913_2.png) [@Storm\_Trooper](https://community.influxdata.com/u/Storm_Trooper)
#### Post date: [March 2, 2020, 6:09pm UTC](https://community.influxdata.com/t/chronograf-dashboard-giving-no-results/11985/10 "2020-03-02T18:09:16Z")

</div>

Providing a solution here for my own memory and potentially saving some others. I am in timezone GMT +13, if my data is timestamped with my local time instead of UTC then what I have gathered so far (might be wrong) is that as far as the time series data is concerned my local time happened 12 hours ago and so does not meet the time criteria of anything less than last 12h is done back to UTC. Solution is to timestamp my data with UTC time instead of local time.
