Skip to content

Commit f0cf933

Browse files
committed
Fix JSON snippet
1 parent bf4d4bd commit f0cf933

File tree

1 file changed

+31
-15
lines changed

1 file changed

+31
-15
lines changed

articles/iot-central/core/howto-export-to-blob-storage.md

Lines changed: 31 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ To learn how to manage data export by using the IoT Central REST API, see [How t
1919

2020
## Set up a Blob Storage export destination
2121

22-
2322
IoT Central exports data once per minute, with each file containing the batch of changes since the previous export. Exported data is saved in JSON format. The default paths to the exported data in your storage account are:
2423

2524
- Telemetry: _{container}/{app-id}/{partition_id}/{YYYY}/{MM}/{dd}/{hh}/{mm}/{filename}_
@@ -183,23 +182,40 @@ The following example shows an exported telemetry message:
183182

184183
For Blob Storage, messages are batched and exported once per minute.
185184

186-
The following snippet shows this property in the message exported to Blob Storage:
185+
The following snippet shows a property change message exported to Blob Storage:
187186

188187
```json
189188
{
190-
"applicationId":"5782ed70-b703-4f13-bda3-1f5f0f5c678e",
191-
"messageSource":"telemetry",
192-
"deviceId":"sample-device-01",
193-
"schema":"default@v1",
194-
"templateId":"urn:modelDefinition:mkuyqxzgea:e14m1ukpn",
195-
"enqueuedTime":"2021-01-29T16:45:39.143Z",
196-
"telemetry":{
197-
"temperature":8.341033560421833
198-
},
199-
"messageProperties":{
200-
"iothub-creation-time-utc":"2021-01-29T16:45:39.021Z"
201-
},
202-
"enrichments":{}
189+
"applicationId": "fb74969c-8682-4708-af01-33499a7f7d98",
190+
"messageSource": "properties",
191+
"deviceId": "Pepjmh1Hcc",
192+
"enqueuedTime": "2023-03-02T10:35:39.281Z",
193+
"enrichments": {},
194+
"messageType": "devicePropertyReportedChange",
195+
"schema": "default@v1",
196+
"templateId": "dtmi:azureiot:ddzig4ascxz",
197+
"properties": [
198+
{
199+
"component": "device_info",
200+
"name": "swVersion",
201+
"value": "12"
202+
},
203+
{
204+
"component": "device_info",
205+
"name": "osName",
206+
"value": "Android"
207+
},
208+
{
209+
"component": "device_info",
210+
"name": "processorArchitecture",
211+
"value": "arm64-v8a"
212+
},
213+
{
214+
"component": "device_info",
215+
"name": "processorManufacturer",
216+
"value": "unknown"
217+
}
218+
]
203219
}
204220
```
205221

0 commit comments

Comments
 (0)