Skip to content

Commit 1d7d9df

Browse files
authored
Merge pull request #114437 from Ashi-Sunnam/patch-6
Update convert-classic-resource.md
2 parents 04ec44e + f2addc8 commit 1d7d9df

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

articles/azure-monitor/app/convert-classic-resource.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -121,6 +121,19 @@ When you query directly from the Log Analytics workspace, you only see data that
121121
> [!NOTE]
122122
> If you rename your Application Insights resource after you migrate to the workspace-based model, the Application Insights **Logs** tab no longer shows the telemetry collected before renaming. You can see all old and new data on the **Logs** tab of the associated Log Analytics resource.
123123
124+
125+
## Identifying the Application Insights resources by ingestion type
126+
127+
Use the following script to identify your Application Insights resources by ingestion type.
128+
129+
#### Example
130+
131+
```azurecli
132+
133+
Get-AzApplicationInsights -SubscriptionId '7faeaa41-541f-48da-82b4-3dc10c594b85' | Format-Table -Property Name, IngestionMode, WorkspaceResourceId, @{label='Type';expression={if ($_.ingestionMode -eq 'LogAnalytics') {'Workspace-based'} elseif ($_.IngestionMode -eq 'ApplicatonInsights') {'Classic'}}}
134+
135+
```
136+
124137
## Programmatic resource migration
125138

126139
This section helps you migrate your resources.

0 commit comments

Comments
 (0)