Skip to content

Commit 60d8d54

Browse files
Merge pull request #277576 from cosh/TSItoFabric
Tsi to fabric
2 parents 5af26ae + 9432c15 commit 60d8d54

File tree

7 files changed

+164
-376
lines changed

7 files changed

+164
-376
lines changed

.openpublishing.redirection.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1649,6 +1649,11 @@
16491649
"source_path_from_root": "/articles/dns/dns-getstarted-create-recordset.md",
16501650
"redirect_url": "/azure/dns/dns-getstarted-powershell",
16511651
"redirect_document_id": false
1652+
},
1653+
{
1654+
"source_path_from_root": "/articles/time-series-insights/migration-to-adx.md",
1655+
"redirect_url": "/azure/time-series-insights/migration-to-fabric.md",
1656+
"redirect_document_id": false
16521657
},
16531658
{
16541659
"source_path_from_root": "/articles/dns/dns-operations-dnszones-cli-nodejs.md",

articles/time-series-insights/TOC.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -83,8 +83,8 @@
8383
href: time-series-insights-parameterized-urls.md
8484
- name: How-to guides
8585
items:
86-
- name: Migrate to Azure Data Explorer
87-
href: migration-to-adx.md
86+
- name: Migrate to Fabric Real-Time Intelligence
87+
href: migration-to-fabric.md
8888
- name: Grant data access
8989
href: concepts-access-policies.md
9090
- name: Connect to Event Hubs
@@ -127,7 +127,7 @@
127127
items:
128128
- name: How to migrate to new API versions
129129
href: how-to-api-migration.md
130-
- name: How to migrate to Azure Data Explorer
130+
- name: How to migrate to Fabric Real-Time Intelligence
131131
href: how-to-tsi-gen2-migration.md
132132
- name: Azure Time Series Insights Gen1
133133
items:
@@ -149,7 +149,7 @@
149149
href: time-series-insights-environment-mitigate-latency.md
150150
- name: Diagnose and troubleshoot
151151
href: time-series-insights-diagnose-and-solve-problems.md
152-
- name: How to migrate to Azure Data Explorer
152+
- name: How to migrate to Fabric Real-Time Intelligence
153153
href: how-to-tsi-gen1-migration.md
154154
- name: Reference
155155
items:

articles/time-series-insights/how-to-tsi-gen1-migration.md

Lines changed: 32 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,50 @@
11
---
2-
title: 'Time Series Insights Gen1 migration to Azure Data Explorer | Microsoft Docs'
3-
description: How to migrate Azure Time Series Insights Gen 1 environments to Azure Data Explorer.
2+
title: 'Time Series Insights Gen1 migration to Real-Time Intelligence in Microsoft Fabric | Microsoft Docs'
3+
description: How to migrate Azure Time Series Insights Gen 1 environments to Real-Time Intelligence in Microsoft Fabric.
44
ms.service: time-series-insights
55
author: tedvilutis
66
ms.author: tvilutis
77
ms.topic: conceptual
8-
ms.date: 3/15/2022
8+
ms.date: 6/10/2024
99
ms.custom: tvilutis
1010
---
1111

12-
# Migrating Time Series Insights Gen1 to Azure Data Explorer
12+
# Migrating Time Series Insights Gen1 to Real-Time Intelligence in Microsoft Fabric
1313

1414
[!INCLUDE [retirement](../../includes/tsi-retirement.md)]
1515

1616
## Overview
1717

18-
The recommendation is to set up Azure Data Explorer cluster with a new consumer group from the Event Hub or IoT Hub and wait for retention period to pass and fill Azure Data Explorer with the same data as Time Series Insights environment.
19-
If telemetry data is required to be exported from Time Series Insights environment, the suggestion is to use Time Series Insights Query API to download the events in batches and serialize in required format.
20-
For reference data, Time Series Insights Explorer or Reference Data API can be used to download reference data set and upload it into Azure Data Explorer as another table. Then, materialized views in Azure Data Explorer can be used to join reference data with telemetry data. Use materialized view with arg_max() aggregation function which will get the latest record per entity, as demonstrated in the following example. For more information about materialized views, read the following documentation: [Materialized views use cases](/azure/data-explorer/kusto/management/materialized-views/materialized-view-overview#materialized-views-use-cases).
18+
[Eventhouse](/fabric/real-time-intelligence/eventhouse) is the time series database in Real-Time Intelligence. It serves as the target for migrating data away from Time Series Insights.
2119

22-
```
23-
.create materialized-view MVName on table T
24-
{
25-
T
26-
| summarize arg_max(Column1,*) by Column2
27-
}
28-
```
29-
## Translate Time Series Insights Queries to KQL
20+
### Prerequisites
21+
22+
* A [workspace](/fabric/get-started/create-workspaces) with a Microsoft Fabric-enabled [capacity](/fabric/enterprise/licenses#capacity)
23+
* An [event house](/fabric/real-time-intelligence/create-eventhouse) in your workspace
24+
25+
### Ingest new data
26+
27+
Use the following steps to start ingesting new data into your Eventhouse:
28+
29+
1. Configure your [event hub](/azure/event-hubs/event-hubs-about) with a new consumer group.
30+
31+
2. Consume data from the data source and ingest it into your Eventhouse. Refer to the documentation on how to [ingest data from your event hub](/fabric/real-time-intelligence/get-data-event-hub).
3032

31-
For queries, the recommendation is to use KQL in Azure Data Explorer.
33+
### Migrate historical data from Time Series Insights
34+
35+
If you need to export data from your Time Series Insights environment, you can use the Time Series Insights Query API to download the events in batches and serialize them in the required format. Depending on where you stored the exported data, you can ingest the data from [Azure Storage](/fabric/real-time-intelligence/get-data-azure-storage), [local files](/fabric/real-time-intelligence/get-data-local-file), or [OneLake](/fabric/real-time-intelligence/get-data-onelake).
36+
37+
### Migrate reference data
38+
39+
Use the following steps to migrate reference data:
40+
41+
1. Use Time Series Insights Explorer or the Reference Data API to download the reference data set.
42+
43+
2. Once you have the reference data set, [upload it to your Eventhouse](/fabric/real-time-intelligence/get-data-local-file) as another table. By uploading the reference data set, you can access and utilize it within your Eventhouse environment.
44+
45+
## Translate Time Series Insights Queries to Kusto Query Language
46+
47+
For queries, the recommendation is to use Kusto Query Language in Eventhouse.
3248

3349
#### Events
3450
```TSQ
@@ -154,4 +170,3 @@ _q
154170
_meas3,
155171
| sort by _dim0 nulls last, _dim1 nulls last
156172
```
157-

0 commit comments

Comments
 (0)