Reader small image

You're reading from  The Azure IoT Handbook

Product typeBook
Published inDec 2023
PublisherPackt
ISBN-139781837633616
Edition1st Edition
Right arrow
Author (1)
Dan Clark
Dan Clark
author image
Dan Clark

Dan Clark is a senior developer and data engineer specializing in Microsoft technologies. He is focused on learning new AI and data technologies and training others on how to best implement those technologies. He has worked as an Azure Technical Trainer (ATT)for Microsoft and has over 25 years of experience as a Microsoft Certified Trainer. Dan has published several books and numerous articles on Microsoft technologies. He is a regular speaker at various developer and database conferences and user group meetings and enjoys interacting with the Microsoft communities.
Read more about Dan Clark

Right arrow

Lab – creating an ADX dashboard

In this lab, we will explore how to consume and analyze IoT data using ADX. We will then leverage ADX’s capabilities to create a real-time dashboard that visualizes the IoT data:

  1. Set up IoT Hub and a device capturing data from the Raspberry Pi online simulator (https://azure-samples.github.io/raspberry-pi-web-simulator/#getstarted).
  2. Verify that the signal is being sent to IoT Hub.
  3. Set up an SDX cluster and make sure you enable streaming data.
  4. Create a database and a table in ADX to capture the data.
  5. Define the table mapping between the incoming messages and the table columns.
  6. Create a new dashboard and enter the following KQL using your table name:
    Telemetry
     | where IotHubEnqueuedTime between (['_startTime'] .. ['_endTime']) // Time range filtering
  7. After a few minutes, you should see results when you run the KQL.
  8. Select Add visual next to the Results tab.
  9. Add a line chart showing...
lock icon
The rest of the page is locked
Previous PageNext Page
You have been reading a chapter from
The Azure IoT Handbook
Published in: Dec 2023Publisher: PacktISBN-13: 9781837633616

Author (1)

author image
Dan Clark

Dan Clark is a senior developer and data engineer specializing in Microsoft technologies. He is focused on learning new AI and data technologies and training others on how to best implement those technologies. He has worked as an Azure Technical Trainer (ATT)for Microsoft and has over 25 years of experience as a Microsoft Certified Trainer. Dan has published several books and numerous articles on Microsoft technologies. He is a regular speaker at various developer and database conferences and user group meetings and enjoys interacting with the Microsoft communities.
Read more about Dan Clark