Skip to content

Commit 2d91a04

Browse files
Merge pull request #234236 from AaronMaxwell/aaronmax-create-resource-same-as-la
Noting that resource should be created in same region as LA
2 parents 8231b1f + 068695a commit 2d91a04

File tree

1 file changed

+14
-13
lines changed

1 file changed

+14
-13
lines changed

articles/azure-monitor/app/create-workspace-resource.md

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -2,29 +2,30 @@
22
title: Create a new Azure Monitor Application Insights workspace-based resource
33
description: Learn about the steps required to enable the new Azure Monitor Application Insights workspace-based resources.
44
ms.topic: conceptual
5-
ms.date: 11/14/2022
5+
ms.date: 04/12/2023
66
ms.reviewer: cogoodson
77
ms.custom: devx-track-azurepowershell, devx-track-azurecli
88
---
99

1010
# Workspace-based Application Insights resources
1111

12-
Workspace-based resources support full integration between Application Insights and Log Analytics. Now you can send your Application Insights telemetry to a common Log Analytics workspace. You'll have full access to all the features of Log Analytics, while your application, infrastructure, and platform logs remain in a single consolidated location.
12+
[Azure Monitor](../overview.md) [Application Insights](app-insights-overview.md#application-insights-overview) workspace-based resources integrate [Application Insights](app-insights-overview.md#application-insights-overview) and [Log Analytics](../logs/log-analytics-overview.md#overview-of-log-analytics-in-azure-monitor).
1313

14-
This integration allows for common Azure role-based access control across your resources. It also eliminates the need for cross-app/workspace queries.
14+
With workspace-based resources, [Application Insights](app-insights-overview.md#application-insights-overview) sends telemetry to a common [Log Analytics](../logs/log-analytics-overview.md#overview-of-log-analytics-in-azure-monitor) workspace, providing full access to all the features of [Log Analytics](../logs/log-analytics-overview.md#overview-of-log-analytics-in-azure-monitor) while keeping your application, infrastructure, and platform logs in a single consolidated location. This integration allows for common [Azure role-based access control](../roles-permissions-security.md) across your resources and eliminates the need for cross-app/workspace queries.
1515

1616
> [!NOTE]
1717
> Data ingestion and retention for workspace-based Application Insights resources are billed through the Log Analytics workspace where the data is located. To learn more about billing for workspace-based Application Insights resources, see [Azure Monitor Logs pricing details](../logs/cost-logs.md).
1818
19-
[!INCLUDE [azure-monitor-log-analytics-rebrand](../../../includes/azure-monitor-instrumentation-key-deprecation.md)]
20-
2119
## New capabilities
2220

2321
With workspace-based Application Insights, you can take advantage of the latest capabilities of Azure Monitor and Log Analytics. For example:
2422

2523
* [Customer-managed key](../logs/customer-managed-keys.md) provides encryption at rest for your data with encryption keys to which only you have access.
2624
* [Azure Private Link](../logs/private-link-security.md) allows you to securely link Azure platform as a service (PaaS) services to your virtual network by using private endpoints.
27-
* [Bring your own storage (BYOS) for Profiler and Snapshot Debugger](./profiler-bring-your-own-storage.md) gives you full control over the encryption-at-rest policy, the lifetime management policy, and network access for all data associated with Application Insights Profiler and Snapshot Debugger.
25+
* [Bring your own storage (BYOS) for Profiler and Snapshot Debugger](./profiler-bring-your-own-storage.md) allows you to control this data associated with Application Insights [Profiler](../profiler/profiler-overview.md) and [Snapshot Debugger](../snapshot-debugger/snapshot-debugger.md).
26+
* Encryption-at-rest policy
27+
* Lifetime management policy
28+
* Network access
2829
* [Commitment tiers](../logs/cost-logs.md#commitment-tiers) enable you to save as much as 30% compared to the pay-as-you-go price.
2930
* Log Analytics streaming ingests data faster.
3031

@@ -33,15 +34,15 @@ With workspace-based Application Insights, you can take advantage of the latest
3334
Sign in to the [Azure portal](https://portal.azure.com), and create an Application Insights resource.
3435

3536
> [!div class="mx-imgBorder"]
36-
> ![Screenshot that shows a workspace-based Application Insights resource.](./media/create-workspace-resource/create-workspace-based.png)
37+
> :::image type="content" source="./media/create-workspace-resource/create-workspace-based.png" lightbox="./media/create-workspace-resource/create-workspace-based.png" alt-text="Screenshot that shows a workspace-based Application Insights resource.":::
3738
3839
If you don't have an existing Log Analytics workspace, see the [Log Analytics workspace creation documentation](../logs/quick-create-workspace.md).
3940

40-
*Workspace-based resources are currently available in all commercial regions and Azure Government.*
41+
*Workspace-based resources are currently available in all commercial regions and Azure Government. Having Application Insights and Log Analytics in two different regions can impact latency and reduce overall reliability of the monitoring solution. *
4142

4243
After you create your resource, you'll see corresponding workspace information in the **Overview** pane.
4344

44-
![Screenshot that shows a workspace name.](./media/create-workspace-resource/workspace-name.png)
45+
:::image type="content" source="./media/create-workspace-resource/workspace-name.png" lightbox="./media/create-workspace-resource/workspace-name.png" alt-text="Screenshot that shows a workspace name.":::
4546

4647
Select the blue link text to go to the associated Log Analytics workspace where you can take advantage of the new unified workspace query environment.
4748

@@ -50,15 +51,15 @@ Select the blue link text to go to the associated Log Analytics workspace where
5051
5152
## Copy the connection string
5253

53-
The [connection string](./sdk-connection-string.md?tabs=net) identifies the resource that you want to associate your telemetry data with. You can also use it to modify the endpoints your resource will use as a destination for your telemetry. You must copy the connection string and add it to your application's code or to an environment variable.
54+
The [connection string](./sdk-connection-string.md?tabs=net) identifies the resource that you want to associate your telemetry data with. You can also use it to modify the endpoints your resource uses as a destination for your telemetry. You must copy the connection string and add it to your application's code or to an environment variable.
5455

5556
## Configure monitoring
5657

5758
After you've created a workspace-based Application Insights resource, you configure monitoring.
5859

5960
### Code-based application monitoring
6061

61-
For code-based application monitoring, you install the appropriate Application Insights SDK and point the instrumentation key or connection string to your newly created resource.
62+
For code-based application monitoring, you install the appropriate Application Insights SDK and point the connection string to your newly created resource.
6263

6364
For information on how to set up an Application Insights SDK for code-based monitoring, see the following documentation specific to the language or framework:
6465

@@ -89,7 +90,7 @@ To access the preview Application Insights Azure CLI commands, you first need to
8990
az extension add -n application-insights
9091
```
9192

92-
If you don't run the `az extension add` command, you'll see an error message that states `az : ERROR: az monitor: 'app-insights' is not in the 'az monitor' command group. See 'az monitor --help'`.
93+
If you don't run the `az extension add` command, you see an error message that states `az : ERROR: az monitor: 'app-insights' is not in the 'az monitor' command group. See 'az monitor --help'`.
9394

9495
Now you can run the following code to create your Application Insights resource:
9596

@@ -149,7 +150,7 @@ New-AzApplicationInsights -Name <String> -ResourceGroupName <String> -Location <
149150
New-AzApplicationInsights -Kind java -ResourceGroupName testgroup -Name test1027 -location eastus -WorkspaceResourceId "/subscriptions/00000000-0000-0000-0000-000000000000/resourcegroups/test1234/providers/microsoft.operationalinsights/workspaces/test1234555"
150151
```
151152

152-
For the full PowerShell documentation for this cmdlet, and to learn how to retrieve the instrumentation key, see the [Azure PowerShell documentation](/powershell/module/az.applicationinsights/new-azapplicationinsights).
153+
For the full PowerShell documentation for this cmdlet, and to learn how to retrieve the connection string, see the [Azure PowerShell documentation](/powershell/module/az.applicationinsights/new-azapplicationinsights).
153154

154155
### Azure Resource Manager templates
155156

0 commit comments

Comments
 (0)