1 個回答
- 最新
- 最多得票
- 最多評論
0
Not sure if you are using IOT rules but please review the following resources
- Tutorial: Storing device data in a DynamoDB table
- The DynamoDB (dynamoDB) action writes all or part of an MQTT message to an Amazon DynamoDB table.
Additionally , the best way to debug issues you are having with rules is to use CloudWatch Logs. When you enable CloudWatch Logs for AWS IoT, you can see which rules are triggered and their success or failure. You also get information about whether WHERE clause conditions match. For more information, see Monitor AWS IoT using CloudWatch Logs.
This didn't work for me. redid every step and end up with same results
相關內容
- AWS 官方已更新 2 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 1 年前
- AWS 官方已更新 3 年前
Could you please explain how do you write the data into DynamoDB? Are you using one of the DynamoDB actions together with an IoT Rule? How does the SQL looks like? How is the action configured?
I very new to AWS and used this tutorial : https://docs.aws.amazon.com/iot/latest/developerguide/iot-ddb-rule.html Thats all I did and I received data but after checking the data I came to the conclusion that I missed some data.
The table you are showing (I assume this is a screenshot of the DDB table content) does not correspond to the JSON message. The name of the columns is different from the fields in the JSON messages. Are you doing any manipulation in the SQL?
No i just do select * from 'topic_1' , This is just a part of the Json all the Json fields are displayed in the table. Sorry for the confusion