To get started, head over to AWS IoT and to the region where we have registered our Thing:
- From the menu on the left-hand side, click on Act and then click the Create a rule option. On the Create rule screen, we will fill in the details as shown in the following table:
Field |
Value |
Name |
ES_Indexer |
Description |
Index AWS IoT topic data to Elasticsearch service |
SQL version |
2016-03-23 |
Attribute |
cast(state.desired.temp as decimal) as temp, cast(state.desired.humd as decimal) as humd, timestamp() as timestamp |
Topic filter |
$aws/things/Pi3-DHT11-Node/shadow/update |
Condition |
- Once we fill the form in with the information mentioned in the previous table, we should see the rule query ...