Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
The Azure IoT Handbook

You're reading from  The Azure IoT Handbook

Product type Book
Published in Dec 2023
Publisher Packt
ISBN-13 9781837633616
Pages 248 pages
Edition 1st Edition
Languages
Author (1):
Dan Clark Dan Clark
Profile icon Dan Clark
Toc

Table of Contents (18) Chapters close

Preface 1. Part 1: Capturing Data from Remote Devices
2. Chapter 1: An Introduction to the IoT 3. Chapter 2: Exploring the IoT Hub Service 4. Chapter 3: Provisioning Devices with the Device Provisioning Service 5. Chapter 4: Exploring Device Management and Monitoring 6. Chapter 5: Securing IoT Systems 7. Part 2: Processing the Data
8. Chapter 6: Creating Message Routing 9. Chapter 7: Exploring Azure Stream Analytics 10. Chapter 8: Investigating IoT Data with Azure Data Explorer 11. Chapter 9: Exploring IoT Edge Computing 12. Part 3: Processing the Data
13. Chapter 10: Visualizing Streaming Data in Power BI 14. Chapter 11: Integrating Machine Learning 15. Chapter 12: Responding to Device Events 16. Index 17. Other Books You May Enjoy

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 chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}