amazon web services - Aws IOT to dynamoDB - returns encrypted MQTT messages -


my iot device populates following data:

12-09-2017 12:05:26peoplein: 2 

and gets streamed in aws iot server when subscribe topic. when export message csv following getting exported:

format,payload,qos,timestamp,topic string,12-09-2017 12:05:26peoplein: 2,0,1505190320098,testsite 

i trying configure aws dynamodb store above data table. in aws iot rules setting have provided following:

attribute = * topicfilter = # (i have tried testsite) selected action = insert message dynamodb table 

i created dynamodb table following settings:

primary partition key = timestamp (number) 

i have set sort key. upon setting rule, data gets populated dynamodb. however, timestamp populated unix timestamp , data populated in encrypted format. following output getting in aws dynamodb.

timestamp     data_raw 1505198126899 mtitmdktmjaxnyaxmjowntoynlblb3bszuluoiay 

not sure missing. ideally want timestamp + payload. desired output be:

timestamp       data 1505198126899   12-09-2017 12:05:26peoplein: 2 

can help?


Comments

Popular posts from this blog

angular - Ionic slides - dynamically add slides before and after -

minify - Minimizing css files -

Add a dynamic header in angular 2 http provider -