Add Fabric OneLake events to an eventstream (preview)

This article shows you how to add Fabric OneLake event source to an eventstream.

Note

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

OneLake events allow you to subscribe to changes in files and folders in OneLake, and then react to those changes in real-time. With Fabric event streams, you can capture these OneLake events, transform them, and route them to various destinations in Fabric for further analysis. This seamless integration of OneLake events within Fabric event streams gives you greater flexibility for monitoring and analyzing activities in your OneLake.

Event types

Here are the supported OneLake events:

Event type name Description
Microsoft.Fabric.OneLake.FileCreated Raised when a file is created or replaced in OneLake.
Microsoft. Fabric.OneLake.FileDeleted Raised when a file is deleted in OneLake.
Microsoft. Fabric.OneLake.FileRenamed Raised when a file is renamed in OneLake.
Microsoft.Fabric.OneLake.FolderCreated Raised created when a folder is created in OneLake.
Microsoft. Fabric.OneLake.FolderDeleted Raised when a folder is deleted in OneLake.
Microsoft. Fabric.OneLake.FolderRenamed Raised when a folder is renamed in OneLake.

Prerequisites

  • Get access to a workspace in the Fabric capacity license mode (or) the Trial license mode with Contributor or higher permissions.
  • Create an eventstream if you don't already have an eventstream.

Add Fabric OneLake events as source

If you haven't added any source to your eventstream yet, select Use external source tile.

Screenshot that shows the selection of Use external source tile.

If you're adding the source to an already published eventstream, switch to Edit mode, select Add source on the ribbon, and then select External sources.

Screenshot that shows the selection of Add source to External sources menu.

On the Select a data source page, search for and select Connect on the OneLake events tile.

Screenshot that shows the selection of Fabric OneLake events as the source type in the Select a data source window.

Configure and connect to Fabric OneLake events

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

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

  2. This step is optional. To see the schemas for event types, select View selected event type schemas. If you select it, browse through schemas for the events, and then navigate back to previous page by selecting the backward arrow button at the top.

  3. Select Add a OneLake source under Select data source for events.

    Screenshot that shows the selection the Add a OneLake source button.

  4. On the Choose the data you want to connect page:

    1. View all available data sources or only your data sources (My data) or your favorite data sources by using the category buttons at the top. You can use the Filter by keyword text box to search for a specific source. You can also use the Filter button to filter based on the type of the resource (KQL Database, Lakehouse, SQL Database, Warehouse). The following example uses the My data option.

    2. Select the data source from the list.

    3. Select Next at the bottom of the page.

      Screenshot that shows the selection of a specific OneLake data source.

  5. Select all tables or a specific table that you're interested in, and then select Add.

    Screenshot that shows the selection of all tables.

  6. Now, on the Configure connection settings page, you can add filters to set the filter conditions by selecting fields to watch and the alert value. To add a filter:

    1. Select + Filter.

    2. Select a field.

    3. Select an operator.

    4. Select one or more values to match.

      Screenshot that shows the addition of a filter.

  7. Then, select Next at the bottom of the page.

    Screenshot that shows the selection of the Next button.

  8. On the Review + connect page, review settings, and select Add.

    Screenshot that shows the Review and create page.

Note

The maximum number of sources and destinations for one eventstream is 11.

View updated eventstream

  1. Once the connection is created, you can see the Fabric OneLake events source added to your eventstream in Edit mode. Select Publish to publish the eventstream and capture the OneLake events.

    A screenshot of the Fabric OneLake events source added to the eventstream.

    Note

    Before proceeding with event transformation or routing, ensure that OneLake events have been triggered and successfully sent to the eventstream.

  2. If you want to transform the Fabric OneLake events, open your eventstream and select Edit on the toolbar to enter Edit mode. Then you can add operations to transform the Fabric OneLake events or route them to a destination such as Lakehouse.

Known limitations

  • Currently, error messages aren't available when an error occurs on discrete events sources.
  • Currently, the Data Preview feature isn't available for discrete events sources.