I need to convert simple json telemetry packet to custom json output. Can you please help me to achieve this.
INPUT to stream analytics
{"Id":80,"deviceId":"10004","temperature":21.94489404790873,"humidity":63.377043919318496}
Output of stream analytics should be as follows
{
"SiteId":[
80
],
"Name":"xxxx", -->hard coded value /reading from reference input
"Address":"xxxxx",-->hard coded value /reading from reference input
"telemetry":{
"temperature":21.94489404790873,
"humidity":63.377043919318496
}
}
}