Edit

Learn to monitor streaming data using the tutorial card in Fabric Real-Time hub

Real-Time hub is the central place in Microsoft Fabric for discovering, ingesting, and managing streaming data. It includes built-in tutorial cards — guided walkthroughs that run directly inside the hub — to help you learn key workflows without manual setup.

In this tutorial, you complete the Learn to monitor streaming data walkthrough to connect a real-time weather source to an eventstream, preview the live data, and create an alert rule that sends you a notification when a condition is met.

Prerequisites

  1. Sign in to Microsoft Fabric.

  2. If you see Power BI at the bottom-left of the page, switch to the Fabric workload by selecting Power BI and then selecting Fabric.

    Screenshot that shows how to switch to the Fabric workload.

  3. Select Real-Time on the left navigation bar.

    Screenshot that shows the Real-Time option on the left navigation bar in Microsoft Fabric.

Configure a data source and create an alert rule

Follow these steps to complete the guided tutorial in Real-Time hub. You configure a weather data source, preview the streaming data, and create a rain alert rule.

  1. At the top of the Real-Time hub, scroll to the right, and select Learn to monitor streaming data.

    Screenshot that shows the Learn to monitor streaming data tutorial card in Fabric Real-Time hub.

  2. On the Monitor streaming data page, review the estimated time, data source, and what's covered in the tutorial. Select Start to go through the tutorial steps.

    Screenshot that shows the Monitor streaming data page in Fabric Real-Time hub.

  3. On the Configure page of the Configure data source wizard, follow these steps:

    1. In the map view, search for a location.

    2. In the Stream details pane, follow these steps:

      1. For Workspace, select your Fabric workspace.
      2. For Eventstream name, select the Pencil button, and enter a name for your eventstream.
      3. The Stream name should be automatically updated based on the eventstream name you entered.
    3. Select Next at the bottom of the page.

      Screenshot that shows the Configure data source page.

  4. On the Review + connect page, review the configuration details, and select Connect to connect to the data source.

    Screenshot that shows the Review + connect page in the Configure data source wizard in Real-Time hub.

  5. Select Next to complete the configuration and return to Real-Time hub.

    Screenshot that shows the Finish button on the Review + connect page.

  6. The Streaming data page shows the stream you created. Select Next in the Find your stream page to go to the next step of the tutorial. The tutorial automatically selects the stream from the list for you.

    Screenshot that shows the Find your stream tutorial step on the Streaming data page in Real-Time hub.

  7. On the stream details page, if you wait for a few seconds, you see the graph is updated with the streaming data. In the Preview live data pop-up, select Next, which simulates the selection of the Preview data button.

    Screenshot that shows the Preview live data pop-up.

  8. After a few seconds, the graph and list update with streaming data. Select X next to Close preview to continue in the top-right corner.

    Screenshot that shows the preview of streaming weather data on the stream details page in Real-Time hub.

  9. Back on the stream details page, select Next in the Create alert popup, which simulates the selection of the Set alert button.

    Screenshot that shows the Create alert pop-up on the stream details page in Real-Time hub.

  10. The Add rule page opens, and you see all the fields are filled in for you.

    1. In the Details section, the Rule name is set to Rain alert.
    2. In the Monitor section, the Source is set to the stream you created in the previous step.
    3. In the Condition section, the following values are configured:
      1. Check is set to On each event when.

      2. When is set to hasPrecipitation.

      3. Condition is set to Is equal to.

      4. Value is set to 1.

        Screenshot that shows Details, Monitor, and Condition sections of the Add rule page.

    4. In the Action section, the following values are configured:
      1. Select action is set to Message to individuals.
      2. To is set to your email address.
      3. Headline is set to Activator alert Rain alert.
      4. Notes is set to The condition for 'Rain alert' has been met.
    5. In the Save location section:
      1. Save to is set to your workspace.

      2. Item is set to an Activator item in your workspace. If you prefer to use a new Activator item, select Create a new item in the drop-down list, and enter a name for the new Activator item.

        Screenshot that shows Action and Save location sections of the Add rule page.

  11. After reviewing the fields, select Create to create the alert rule. You see a confirmation message that the rule is created successfully. Select Done to continue. If you select Open, you see the Activator item (a Fabric item that triggers actions based on conditions) in the Activator user interface.

    Screenshot that shows the Rule created successfully pop-up.

  12. Review items displayed on the Stream details page, and select Finish walkthrough to complete the tutorial.

    • The Upstream is the real-time weather source.

    • The Downstream is the Activator item that has the Rain alert rule.

    • The Parent is the eventstream that receives real-time weather data from the real-time weather source and sends it to the Activator item, which raises an alert when the condition is met.

      Screenshot that shows the Tutorial completed successfully pop-up.

  13. After you complete the tutorial, you see the Congratulations page with links to open the Eventstream and Activator items. Select Close to close the window.

    Screenshot that shows the Congratulations page after completing the monitor streaming data tutorial in Real-Time hub.

Summary

In this tutorial, you used the guided tutorial card in Real-Time hub to:

  • Connect to a real-time weather data source and create an eventstream.
  • Preview live streaming data on the stream details page.
  • Create a rain alert rule using Activator that sends an email when precipitation is detected.