Редагувати

Поділитися через


Get Fabric workspace item events in Real-Time hub (preview)

This article describes how to get Fabric workspace item events as an eventstream in Fabric Real-Time hub.

Note

Real-Time hub is currently in preview.

Fabric workspace item events are discrete Fabric events that occur when changes are made to your Fabric Workspace. These changes include creating, updating, or deleting a Fabric item.

Fabric workspace item events are discrete Fabric events that occur when contents of your Fabric Workspace is changed. These changes include creating, updating, or deleting of Fabric items except for the item types listed in the following note.

Note

Currently, Fabric workspace item events for the following Power BI item types (itemKind) are not supported:

  • Semantic Model
  • Paginated report
  • Report
  • App
  • Dashboard

With Fabric event streams, you can capture these Fabric workspace events, transform them, and route them to various destinations in Fabric for further analysis. This seamless integration of Fabric workspace events within Fabric event streams gives you greater flexibility for monitoring and analyzing activities in your Fabric workspace.

Here are the supported Fabric workspace events:

  • Microsoft.Fabric.ItemCreateSucceeded
  • Microsoft.Fabric.ItemCreateFailed
  • Microsoft.Fabric.ItemUpdateSucceeded
  • Microsoft.Fabric.ItemUpdateFailed
  • Microsoft.Fabric.ItemDeleteSucceeded
  • Microsoft.Fabric.ItemDeleteFailed
  • Microsoft.Fabric.ItemReadSucceeded
  • Microsoft.Fabric.ItemReadFailed

Note

Consuming Fabric events via eventstream or Data Activator is not supported if the capacity region of the eventstream or Data Activator is in the following regions: Germany West Central, South-Central US, West US2, West US3, West India.

Prerequisites

  • Get access to the Fabric premium workspace with Contributor or above permissions.
  • A Fabric workspace with events you want to track.

Create streams for Fabric workspace item events

You can create streams for Fabric workspace item events in Real-Time hub using one of the ways:

Launch Add source experience

  1. Sign in to Microsoft Fabric.

  2. Select Real-Time hub on the left navigation bar.

  3. On the Real-Time hub page, select + Add source in the top-right corner of the page.

    Screenshot that shows how to launch Real-Time hub In Microsoft Fabric.

Now, use instructions from the Configure and create an eventstream section.

Fabric events page

  1. In Real-Time hub, select Fabric events.

  2. Move the mouse over Fabric workspace item events, and select the Create Eventstream link or select ... (ellipsis) and then select Create Eventstream.

    Screenshot that shows the Real-Time hub Fabric events page.

    Now, use instructions from the Configure and create an eventstream section, but skip the first step of using the Add source page.

Configure and create an eventstream

  1. On the Add source page, select Fabric Workspace item events.

    Screenshot that shows the Get events page with Fabric workspace item events selected.

  2. On the Connect page, for Event types, select the event types that you want to monitor.

    Screenshot that shows the selection of Fabric event types on the Connect page.

  3. This step is optional. To see the schemas for event types, select View selected event type schemas.

  4. For Event source, there's an option between choosing to stream all workspace item events in the tenant by selecting the source option as Across this tenant or restricting it to specific workspace by choosing By workspace option. To select a workspace for which a user want to stream workspace item events, the user must be a workspace admin, member, or a contributor of that workspace. To receive workspace item events across the tenant, users must be a Fabric tenant admin

  5. If By workspace was chosen, select the workspace for which you want to receive the events.

  6. In the Stream details section, follow these steps.

    1. Select the workspace where you want to save the eventstream.
    2. Enter a name for the eventstream. The Stream name is automatically generated for you.
  7. Then, select Next at the bottom of the page.

    Screenshot that shows the Connect page with all the fields filled.

  8. On the Review and create page, review settings, and select Create source.

    Screenshot that shows the Review and create page.

  9. When the wizard succeeds in creating a stream, you see a link to open the eventstream and close the wizard.

    Screenshot that shows the Review and create page with links to open the eventstream.

View stream from the All data streams page

  1. In Real-Time hub, select All data streams.

  2. Confirm that you see the stream you created.

    Screenshot that shows the All data streams page with the generated stream.

To learn about consuming data streams, see the following articles: