Use one-click ingestion to create an Event Hub data connection for Azure Synapse Data Explorer (Preview)

Azure Synapse Data Explorer offers ingestion (data loading) from Event Hubs, a big data streaming platform and event ingestion service. Event Hubs can process millions of events per second in near real-time. In this article, you connect an Event Hub to a table in Azure Synapse Data Explorer using the one-click ingestion experience.


  • An Azure subscription. Create a free Azure account.

  • Create a Data Explorer pool using Synapse Studio or the Azure portal

  • Create a Data Explorer database.

    1. In Synapse Studio, on the left-side pane, select Data.

    2. Select + (Add new resource) > Data Explorer pool, and use the following information:

      Setting Suggested value Description
      Pool name contosodataexplorer The name of the Data Explorer pool to use
      Name TestDatabase The database name must be unique within the cluster.
      Default retention period 365 The time span (in days) for which it's guaranteed that the data is kept available to query. The time span is measured from the time that data is ingested.
      Default cache period 31 The time span (in days) for which to keep frequently queried data available in SSD storage or RAM, rather than in longer-term storage.
    3. Select Create to create the database. Creation typically takes less than a minute.


Ingesting data from an Event Hub into Data Explorer pools will not work if your Synapse workspace uses a managed virtual network with data exfiltration protection enabled.

Ingest new data

  1. In Synapse Studio, on the left-side pane, select Data.

  2. Under Data Explorer Databases, right-click the relevant database, and then select Open in Azure Data Explorer.

    Screenshot of Azure Synapse Studio, showing opening Azure Data Explorer in the context of a specific pool.

  3. In the left menu of the Web UI, select the Data tab.

    Select one-click ingest data from Event Hub in the web UI.

  4. In the Ingest data from Event Hub card, select Ingest.

The Ingest new data window opens with the Destination tab selected.

Destination tab

Screenshot of destination tab. Cluster, Database, and Table fields must be filled out before proceeding to Next-Source.

  1. The Cluster and Database fields are auto-populated. You may select a different cluster or database from the drop-down menus.

  2. Under Table, select Create new table and enter a name for the new table. Alternatively, use an existing table.


    Table names must be between 1 and 1024 characters. You can use alphanumeric, hyphens, and underscores. Special characters aren't supported.

  3. Select Next: Source.

Source tab

  1. Under Source type, select Event Hub.

  2. Under Data Connection, fill in the following fields:

    Screenshot of source tab with project details fields to be filled in - ingest new data to Azure Synapse Data Explorer with Event Hub in the one click experience.

    Setting Suggested value Field description
    Data connection name ContosoDataConnection The name that identifies your data connection.
    Subscription The subscription ID where the Event Hub resource is located.
    Event Hub namespace The name that identifies your namespace.
    Event Hub The Event Hub you wish to use.
    Consumer group The consumer group defined in your Event Hub.
    Event system properties Select relevant properties The Event Hub system properties. If there are multiple records per event message, the system properties will be added to the first one. When adding system properties, create or update table schema and mapping to include the selected properties.
  3. Select Next: Schema.

Schema tab

Data is read from the Event Hub in form of EventData objects. Supported formats are CSV, JSON, PSV, SCsv, SOHsv TSV, TXT, and TSVE.

Screenshot of schema tab in ingest new data to Azure Synapse Data Explorer with Event Hub in the one click experience.

  1. If the data you see in the preview window is not complete, you may need more data to create a table with all necessary data fields. Use the following commands to fetch new data from your Event Hub:

    • Discard and fetch new data: discards the data presented and searches for new events.
    • Fetch more data: Searches for more events in addition to the events already found.


    To see a preview of your data, your Event Hub must be sending events.

  2. Select Next: Summary.

Continuous ingestion from Event Hub

In the Continuous ingestion from Event Hub established window, all steps will be marked with green check marks when establishment finishes successfully. The cards below these steps give you options to explore your data with Quick queries, undo changes made using Tools, or Monitor the Event Hub connections and data.

Screenshot of final screen in ingestion to Azure Synapse Data Explorer from Event Hub with the one click experience.

Next steps