Microsoft Fabric Updates Blog

Stream Azure IoT Hub Data into Fabric Eventstream for Email Alerting

Azure IoT Hub is a managed service hosted in the cloud that acts as a central message hub for communication between IoT applications and their connected devices. It allows you to connect, monitor, and manage millions of devices reliably and securely, making it easier to build scalable IoT solutions. But what if you could take your Azure IoT Hub data to the next level by effortlessly ingesting and transforming it? That’s where Fabric Eventstream comes in!

What’s is Eventstream

Fabric Eventstream is a cutting-edge solution designed to seamlessly ingest and transform real-time data streams before they reach various Fabric destinations such as Lakehouse, KQL Database, and Reflex. Acting as a powerful intermediary layer, it leverages powerful temporal functions and handles data streams with sub-second latency.

Stream IoT Data into Eventstream

If you already have an Azure IoT Hub running in the cloud, follow the steps to start ingesting IoT data into Eventstream. You can also watch the demo video below to see these steps in action.

Here’s the demo:

Stream real-time data from your Azure IoT Hub to Reflex using Fabric Eventstream

Step1: Create an eventstream

Switch your Power BI experience to “Real-time Analytics” and select the “Eventstream” button to create a new one. You can find full documentation on (how to create an Eventstream) here.

Name your Eventstream “my-eventstream” and select “Create.”

Step2: Add an Azure IoT Hub source

In the Eventstream canvas, expand the “New source” drop-down menu and choose “Azure IoT Hub”.

Enter your Azure IoT Hub details to complete the configuration:

  • Source name: Name your eventstream’s source e.g., “iothub-source”.
  • Cloud connection: Select an existing cloud connection that links your Azure IoT Hub to Microsoft Fabric. If you don’t have one, follow this guide (Build a real-time dashboard by streaming events from Azure IoT Hub to Microsoft Fabric) to add a new cloud connection.
  • Data format. Choose the data format (AVRO, JSON, or CSV) that you prefer for ingesting IoT data into your eventstream.
  • Consumer group. Choose a consumer group for your Azure IoT Hub or keep it as “$Default”.

Step3: Add a Reflex destination

In the Eventstream canvas, expand the “New destination” drop-down menu and choose “Reflex”.

Name your eventstream’s destination e.g., “reflex-destination”, select a workspace, and choose your reflex.

Step4: Create Email Alerts in Reflex

Select the Reflex destination and click “Open item” in the bottom pane. This will open your reflex is a new tab.

Then you can start creating email alerts to act on your IoT data. For comprehensive instructions on creating triggers in design mode, you can refer to the detailed documentation here (Create Data Activator triggers in design mode).

Conclusion

Fabric Eventstream offers the capacity to capture, transform, and seamlessly route your IoT data streams to multiple Fabric destinations. Don’t let your Azure IoT Hub data go to waste—leverage the power of Fabric Eventstream to turn it into a valuable asset for your team. Start your journey towards smarter decision-making and unlock the full potential of your IoT data!

Bài đăng blog có liên quan

Stream Azure IoT Hub Data into Fabric Eventstream for Email Alerting

tháng 10 29, 2024 của Dandan Zhang

Managed private endpoints allow Fabric experiences to securely access data sources without exposing them to the public network or requiring complex network configurations. We announced General Availability for Managed Private Endpoint in Fabric in May of this year. Learn more here: Announcing General Availability of Fabric Private Links, Trusted Workspace Access, and Managed Private Endpoints. … Continue reading “APIs for Managed Private Endpoint are now available”

tháng 10 7, 2024 của Alex Lin

Introducing Managed VNet Support for Fabric Eventstream! By creating a Fabric’s Managed Private Endpoint, you can now securely connect Eventstream to your Azure services, such as Azure Event Hubs or IoT Hub, within a private network or behind a firewall. This integration ensures your data is securely transmitted over a private network, enabling you to … Continue reading “Secure Data Streaming with Managed Private Endpoints in Eventstream (Preview)”