Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Step 6: View the Data in the Azure Storage Container

At this point, the data should be flowing into the container. To view it, browse back to your Storage Account in the Azure portal. In the main panel is a 'Storage Explorer' option (shown below) which is in preview at the time of this writing (Feb 26, 2021). Click this link to open the Storage Explorer.

Image Added

After opening the Storage Explorer, you should see something similar to the following

Image Added

Under the 'BLOB CONTAINERS' there should be a link with your container as well a folder showing your IoT Hub name. Double click the IoT Hub name in the far right panel and click through the series of folders shown there. These folders represent the time at which various files were created. When you get to the final folder, you should see something similar to what is shown below in that the final leaf folder contains one or more JSON files.

Image Added

Select one of these files and download it. Upon opening with a text editor, you should see something similar to the following.

Image Added

If you scroll to the right, you should ultimately see the 'body' of the message. This is the raw message that was sent to Azure from the Azure Injector module.

Image AddedNote that all of the messages shown here are from the 'Routed Group'. This is because of how the Azure IoT Hub message route was configured. The 'routing query' is looking for a 'groupId' of 'Routed Group'. So, all messages from the original 'Tutorial Group' were ignored and not routed to the container.