Skip to content

Latest commit

 

History

History
85 lines (46 loc) · 4.86 KB

TimeStream_Grafana_SetUp.md

File metadata and controls

85 lines (46 loc) · 4.86 KB

Follow this link to set up Grafana cloud https://grafana.com/

Table of Content

Create Rule In AWS IoT Core

If you have followed the official tutorial by AWS on how to set up IoT Core with python the exact same steps as shown in the pictures can be followed.

TimeStream_Graphana_1

TimeStream_Graphana_2

TimeStream_Graphana_3

Create The TimeStream Database

TimeStream_Graphana_4

TimeStream_Graphana_5

Create a Table In The TimeStream Database

TimeStream_Graphana_6

TimeStream_Graphana_7

Finishing With the Rule

TimeStream_Graphana_8

TimeStream_Graphana_9

Creating New User For Acessing the Timestream Database Through Graphana

TimeStream_Graphana_10

TimeStream_Graphana_11

TimeStream_Graphana_12

TimeStream_Graphana_13

The Credinentials as shown in the below pictrure will be used to in Graphana to establish a connection with the TimeStream Database

TimeStream_Graphana_14

Connecting Graphana to Timestream Database

TimeStream_Graphana_15

TimeStream_Graphana_16

TimeStream_Graphana_17

TimeStream_Graphana_18

Representing the Data

Create a time series dash board and add the following queries

TimeStream_Graphana_19

TimeStream_Graphana_20

SELECT CREATE_TIME_SERIES(time,measure_value::bigint) as humidity FROM "timestream8"."weatherData" where time BETWEEN from_milliseconds(1660398638031) AND from_milliseconds(1660400138031) and measure_name = 'humidity'
SELECT CREATE_TIME_SERIES(time,measure_value::bigint) as temperature
FROM "timestream8"."weatherData" where time BETWEEN from_milliseconds(1660398638031) AND from_milliseconds(1660400138031) and measure_name = 'temperature'