# Data not always loading and lines rendering strange - AWS timestream

**URL:** <https://community.grafana.com/t/data-not-always-loading-and-lines-rendering-strange-aws-timestream/39829>\
**Category:** Grafana\
**Created:** [November 27, 2020, 11:47am UTC](https://community.grafana.com/t/data-not-always-loading-and-lines-rendering-strange-aws-timestream/39829 "2020-11-27T11:47:51Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![darf](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@darf](https://community.grafana.com/u/darf)\
**Post date:** [November 27, 2020, 11:47am UTC](https://community.grafana.com/t/data-not-always-loading-and-lines-rendering-strange-aws-timestream/39829/1 "2020-11-27T11:47:51Z")

</div>

I’m reading data from AWS timestream, but the data seems not to be loading consistently. Graphs are not showing data are lines are going back and forth.

Anyone seen similar behaviour?

 ![Screenshot 2020-11-27 at 12.43.47](https://us1.discourse-cdn.com/grafana/original/2X/2/26217154dd7e5e3edbbe67b91d1bb774118259a3.png)

Amazon AWS Timestream

---

<div class="post-metadata">

**Author:** ![darf](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@darf](https://community.grafana.com/u/darf)\
**Post date:** [November 29, 2020, 2:50pm UTC](https://community.grafana.com/t/data-not-always-loading-and-lines-rendering-strange-aws-timestream/39829/2 "2020-11-29T14:50:24Z")

</div>

Seems my query was not correct.

```
SELECT
  	CREATE_TIME_SERIES(time, measure_value::double) AS temp_living
FROM $ __database.$__ table
WHERE $__timeFilter
  AND measure_name = 'temp'

```

My first attempt was more like:

```
SELECT measure_value::double AS "temperature living", time FROM "IOT"."sensor_data" AND $__timeFilter(time)
where "measure_name" = 'temp'
```
