I am trying to use iot core rules to define an action which will send a JSON object to a timestream table. the object looks like this:
{ "Time": 1483715700000, "TimeUnit": "MILLISECONDS", "endpointID": "ahu3", "Introduction_temperature": 15.8 }
the sql query:
SELECT Introduction_temperature FROM topic
I want to use the timestamp in the object:(Defined in the rule)
Value: ${Time}
Unit: MILLISECOND
when I try to use my timestamp, nothing gets ingested into the table! it only works if I don't use my timestamp. has anyone encountered this issue before? thanks