|
2 | 2 | title: Migrate an Application Insights classic resource to a workspace-based resource - Azure Monitor | Microsoft Docs
|
3 | 3 | description: Learn about the steps required to upgrade your Application Insights classic resource to the new workspace-based model.
|
4 | 4 | ms.topic: conceptual
|
5 |
| -ms.date: 08/22/2022 |
| 5 | +ms.date: 08/23/2022 |
6 | 6 | ms.custom: devx-track-azurepowershell
|
7 | 7 | ms.reviewer: cawa
|
8 | 8 | ---
|
@@ -76,7 +76,7 @@ This section walks through migrating a classic Application Insights resource to
|
76 | 76 |
|
77 | 77 | 
|
78 | 78 |
|
79 |
| -3. Choose the Log Analytics workspace where you want all future ingested Application Insights telemetry to be stored. It can either be a Log Analytics workspace in the same subscription, or in a different subscription that shares the same Azure AD tenant. The Log Analytics workspace does not have to be in the same resource group as the Application Insights resource. |
| 79 | +3. Choose the Log Analytics workspace where you want all future ingested Application Insights telemetry to be stored. It can either be a Log Analytics workspace in the same subscription, or in a different subscription that shares the same Azure AD tenant. The Log Analytics workspace doesn't have to be in the same resource group as the Application Insights resource. |
80 | 80 |
|
81 | 81 | > [!NOTE]
|
82 | 82 | > Migrating to a workspace-based resource can take up to 24 hours, but is usually faster than that. Please rely on accessing data through your Application Insights resource while waiting for the migration process to complete. Once completed, you will start seeing new data stored in the Log Analytics workspace tables.
|
@@ -229,6 +229,51 @@ Once a workspace-based Application Insights resource has been created, you can m
|
229 | 229 |
|
230 | 230 | From within the Application Insights resource pane, select **Properties** > **Change Workspace** > **Log Analytics Workspaces**.
|
231 | 231 |
|
| 232 | +## Frequently asked questions |
| 233 | + |
| 234 | +### Is there any implication on the cost from migration? |
| 235 | + |
| 236 | +There's usually no difference, with a couple of exceptions. |
| 237 | + |
| 238 | + - Migrated Application Insights resources can use [Log Analytics Commitment Tiers](../logs/cost-logs.md#commitment-tiers) to reduce cost if the data volumes in the workspace are high enough. |
| 239 | + - Grandfathered Application Insights resources will no longer get 1 GB per month free from the original Application Insights pricing model. |
| 240 | + |
| 241 | +### How will telemetry capping work? |
| 242 | + |
| 243 | +You can set a [daily cap on the Log Analytics workspace](../logs/daily-cap.md#application-insights). |
| 244 | + |
| 245 | +There's no strict (billing-wise) capping available. |
| 246 | + |
| 247 | +### How will ingestion-based sampling work? |
| 248 | + |
| 249 | +There are no changes to ingestion-based sampling. |
| 250 | + |
| 251 | +### Will there be any gap in data collected during migration? |
| 252 | + |
| 253 | +No. We merge data during query time. |
| 254 | + |
| 255 | +### Will my old logs queries continue to work? |
| 256 | + |
| 257 | +Yes, they'll continue to work. |
| 258 | + |
| 259 | +### Will my dashboards that have pinned metric and log charts continue to work after migration? |
| 260 | + |
| 261 | +Yes, they'll continue to work. |
| 262 | + |
| 263 | +### Will migration impact AppInsights API accessing data? |
| 264 | + |
| 265 | +No, migration won't impact existing API access to data. After migration, you'll be able to access data directly from a workspace using a [slightly different schema](#workspace-based-resource-changes). |
| 266 | + |
| 267 | +### Will there be any impact on Live Metrics or other monitoring experiences? |
| 268 | + |
| 269 | +No, there's no impact to [Live Metrics](live-stream.md#live-metrics-monitor--diagnose-with-1-second-latency) or other monitoring experiences. |
| 270 | + |
| 271 | +### What happens with Continuous export after migration? |
| 272 | + |
| 273 | +Continuous export doesn't support workspace-based resources. |
| 274 | + |
| 275 | +You'll need to switch to [Diagnostic Settings](../essentials/diagnostic-settings.md#diagnostic-settings-in-azure-monitor). |
| 276 | + |
232 | 277 | ## Troubleshooting
|
233 | 278 |
|
234 | 279 | ### Access mode
|
@@ -259,18 +304,18 @@ The legacy continuous export functionality isn't supported for workspace-based r
|
259 | 304 |
|
260 | 305 | ### Retention settings
|
261 | 306 |
|
262 |
| -**Warning Message:** *Your customized Application Insights retention settings will not apply to data sent to the workspace. You'll need to reconfigure these separately.* |
| 307 | +**Warning Message:** *Your customized Application Insights retention settings won't apply to data sent to the workspace. You'll need to reconfigure these separately.* |
263 | 308 |
|
264 | 309 | You don't have to make any changes prior to migrating. This message alerts you that your current Application Insights retention settings aren't set to the default 90-day retention period. This warning message means you may want to modify the retention settings for your Log Analytics workspace prior to migrating and starting to ingest new data.
|
265 | 310 |
|
266 | 311 | You can check your current retention settings for Log Analytics under **General** > **Usage and estimated costs** > **Data Retention** from within the Log Analytics UI. This setting will affect how long any new ingested data is stored once you migrate your Application Insights resource.
|
267 | 312 |
|
268 | 313 | ## Workspace-based resource changes
|
269 | 314 |
|
270 |
| -Prior to the introduction of [workspace-based Application Insights resources](create-workspace-resource.md), Application Insights data was stored separate from other log data in Azure Monitor. Both are based on Azure Data Explorer and use the same Kusto Query Language (KQL). Workspace-based Application Insights resources data is stored in a Log Analytics workspace, together with other monitoring data and application data. This simplifies your configuration by allowing you to analyze data across multiple solutions more easily, and to leverage the capabilities of workspaces. |
| 315 | +Prior to the introduction of [workspace-based Application Insights resources](create-workspace-resource.md), Application Insights data was stored separate from other log data in Azure Monitor. Both are based on Azure Data Explorer and use the same Kusto Query Language (KQL). Workspace-based Application Insights resources data is stored in a Log Analytics workspace, together with other monitoring data and application data. This simplifies your configuration by allowing you to analyze data across multiple solutions more easily, and to use the capabilities of workspaces. |
271 | 316 |
|
272 | 317 | ### Classic data structure
|
273 |
| -The structure of a Log Analytics workspace is described in [Log Analytics workspace overview](../logs/log-analytics-workspace-overview.md). For a classic application, the data is not stored in a Log Analytics workspace. It uses the same query language, and you create and run queries by using the same Log Analytics tool in the Azure portal. Data items for classic applications are stored separately from each other. The general structure is the same as for workspace-based applications, although the table and column names are different. |
| 318 | +The structure of a Log Analytics workspace is described in [Log Analytics workspace overview](../logs/log-analytics-workspace-overview.md). For a classic application, the data isn't stored in a Log Analytics workspace. It uses the same query language, and you create and run queries by using the same Log Analytics tool in the Azure portal. Data items for classic applications are stored separately from each other. The general structure is the same as for workspace-based applications, although the table and column names are different. |
274 | 319 |
|
275 | 320 | > [!NOTE]
|
276 | 321 | > The classic Application Insights experience includes backward compatibility for your resource queries, workbooks, and log-based alerts. To query or view against the [new workspace-based table structure or schema](#table-structure), you must first go to your Log Analytics workspace. During the preview, selecting **Logs** from within the Application Insights panes will give you access to the classic Application Insights query experience. For more information, see [Query scope](../logs/scope.md).
|
@@ -299,7 +344,7 @@ The structure of a Log Analytics workspace is described in [Log Analytics worksp
|
299 | 344 |
|
300 | 345 | The following sections show the mapping between the classic property names and the new workspace-based Application Insights property names. Use this information to convert any queries using legacy tables.
|
301 | 346 |
|
302 |
| -Most of the columns have the same name with different capitalization. Since KQL is case-sensitive, you will need to change each column name along with the table names in existing queries. Columns with changes in addition to capitalization are highlighted. You can still use your classic Application Insights queries within the **Logs** pane of your Application Insights resource, even if it is a workspace-based resource. The new property names are required for when querying from within the context of the Log Analytics workspace experience. |
| 347 | +Most of the columns have the same name with different capitalization. Since KQL is case-sensitive, you'll need to change each column name along with the table names in existing queries. Columns with changes in addition to capitalization are highlighted. You can still use your classic Application Insights queries within the **Logs** pane of your Application Insights resource, even if it's a workspace-based resource. The new property names are required for when querying from within the context of the Log Analytics workspace experience. |
303 | 348 |
|
304 | 349 | #### AppAvailabilityResults
|
305 | 350 |
|
|
0 commit comments