Real-Time Intelligence tutorial part 2: Get data in the Real-Time hub
Note
This tutorial is part of a series. For the previous section, see: Tutorial part 1: Create resources.
In this part of the tutorial, you browse the Real-Time hub, create an event stream, transform events, and create a destination to send the transformed events to a KQL database.
Create an event stream
From the navigation bar, select Real-Time hub.
Select + Add source.
The Add source pane opens. Select Sample data.
Sample data
- In Source name, enter TutorialSource.
- In Sample data select Bicycles (Reflex compatible).
Stream details
- Edit the Eventstream name by selecting the pencil icon and entering TutorialEventstream.
- Select Next.
Review and create
Review the event stream details and select Create source.
A new event stream named TutorialEventstream is created.
Transform events
Select Open Eventstream from the notification that appears after creating the event stream, or browse to the event stream from the Real-time hub and select Open Eventstream.
From the menu ribbon, select Edit. The authoring canvas, which is the center section, turns yellow and becomes active for changes.
In the event stream authoring canvas, select the down arrow on the Transform events or add destination tile.
Select Manage fields. The tile is renamed to Manage_fields.
Select the pencil icon on the Manage_fields tile.
In the Manage fields pane, do the following actions:
- In Operation name, enter TutorialTransform.
- Select Add all fields
- Select + Add field.
- From the Field dropdown, select Built-in Date Time Function > SYSTEM.Timestamp()
- In Name, enter Timestamp.
- Select Add.
Select Save.
The TutorialTransform tile now displays but with an error, because the destination isn't set.
Create a destination
Hover over the right edge of the TutorialTransform tile and select the green plus icon.
Select Destinations > Eventhouse.
A new tile is created entitled Eventhouse.
Select the pencil icon on the Eventhouse tile.
Enter the following information in the Eventhouse pane:
Field Value Destination name TutorialDestination Workspace Select the workspace in which you created your resources. Eventhouse Tutorial KQL Database Tutorial Destination table Create new - enter TutorialTable as table name Input data format Json Ensure that the box Activate ingestion after adding the data is checked.
Select Save.
From the menu ribbon, select Publish.
The event stream is now set up to transform events and send them to a KQL database.
Related content
For more information about tasks performed in this tutorial, see: