Write SQL expressions to compute streaming metrics across dimensions from your near
real-time data sources. A streaming insight analyzes data at specific points in time. Streaming
insights help build time series aggregations in near real time to orchestrate and optimize your
data within Data 360.
Setting up streaming insights requires several prerequisites and steps. To ensure the best
results, follow this action flow.
Data sources—Map sources to different objects from Web & Mobile SDK, ingestion API,
and Marketing Cloud Personalization data streams.
Identity resolution and data mapping—Ingest your data into Data 360,
and create unified individuals with identity resolution.
Insights—Streaming Insights are similar to calculated insights but have specialized
functions to manage streaming data.
Match rules—Enrich with unified individual data from customers.
Enrichment—Enhance data actions with profile-related attributes.
Data actions—Apply data actions on a streaming insight and evaluate if the action is
necessary.
DMO—Streaming insights can only use the engagement DMO as primary DMO. Profile and Other
DMO can be used as a right table join.
Window function—Streaming insights require a window function aggregate. Define the
window frame in the SELECT statement using window.start
and window.end.
In Data Cloud, go to the Calculated Insights tab, and click
New.
From the Data Space dropdown, select a data space.
You can use only the data spaces that you have access to.
Click Streaming Insights.
Click Use SQL Authoring and click
Next.
Enter the streaming insight name, and click Next.
The Streaming Insight API Name field is auto-filled.
Enter a SQL query expression up to 131,021 characters.
When your insight includes currency measures, you must use the
TRY_CONVERT_CURRENCY function.
To check whether your SQL expression is valid, click Check
Syntax.
If it isn’t valid, you can’t continue.
Click Save and Run.
The streaming insight is displayed on the record home page. The last run status of a
streaming insight is always Processing.
We use three kinds of cookies on our websites: required, functional, and advertising. You can choose whether functional and advertising cookies apply. Click on the different cookie categories to find out more about each category and to change the default settings.
Privacy Statement
Required Cookies
Always Active
Required cookies are necessary for basic website functionality. Some examples include: session cookies needed to transmit the website, authentication cookies, and security cookies.
Functional Cookies
Functional cookies enhance functions, performance, and services on the website. Some examples include: cookies used to analyze site traffic, cookies used for market research, and cookies used to display advertising that is not directed to a particular individual.
Advertising Cookies
Advertising cookies track activity across websites in order to understand a viewer’s interests, and direct them specific marketing. Some examples include: cookies used for remarketing, or interest-based advertising.