Skip to content

Commit 6838a63

Browse files
authored
Merge pull request #154032 from yossi-y/master
Added Note on name ambiguity
2 parents 30d9e8a + 5671559 commit 6838a63

File tree

1 file changed

+7
-5
lines changed

1 file changed

+7
-5
lines changed

articles/azure-monitor/logs/cross-workspace-query.md

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article describes how you can query against resources from mul
44
ms.topic: conceptual
55
author: bwren
66
ms.author: bwren
7-
ms.date: 09/22/2020
7+
ms.date: 04/11/2021
88

99
---
1010

@@ -23,7 +23,7 @@ There are two methods to query data that is stored in multiple workspace and app
2323
## Cross-resource query limits
2424

2525
* The number of Application Insights resources and Log Analytics workspaces that you can include in a single query is limited to 100.
26-
* Cross-resource query is not supported in View Designer. You can Author a query in Log Analytics and pin it to Azure dashboard to [visualize a log query](../visualize/tutorial-logs-dashboards.md).
26+
* Cross-resource query is not supported in View Designer. You can Author a query in Log Analytics and pin it to Azure dashboard to [visualize a log query](../visualize/tutorial-logs-dashboards.md) or include in [Workbooks](../visualize/workbooks-overview.md).
2727
* Cross-resource queries in log alerts are only supported in the current [scheduledQueryRules API](/rest/api/monitor/scheduledqueryrules). If you're using the legacy Log Analytics Alerts API, you'll need to [switch to the current API](../alerts/alerts-log-api-switch.md).
2828

2929

@@ -37,15 +37,17 @@ Identifying a workspace can be accomplished one of several ways:
3737

3838
* Resource name - is a human-readable name of the workspace, sometimes referred to as *component name*.
3939

40+
>[!Note]
41+
>Because app and workspace names are not unique, this identifier might be ambiguous. When there are multiple instances of the resource name, reference should be by Qualified name, Resource ID, or Azure Resource ID.
42+
4043
`workspace("contosoretail-it").Update | count`
4144

42-
* Qualified name - is the full name of the workspace, composed of the subscription name, resource group, and component name in this format: *subscriptionName/resourceGroup/componentName*.
45+
* Qualified name - is the "full name" of the workspace, composed of the subscription name, resource group, and component name in this format: *subscriptionName/resourceGroup/componentName*.
4346

4447
`workspace('contoso/contosoretail/contosoretail-it').Update | count`
4548

4649
>[!NOTE]
47-
>Because Azure subscription names are not unique, this identifier might be ambiguous.
48-
>
50+
>Because Azure subscription names are not unique, this identifier might be ambiguous.
4951
5052
* Workspace ID - A workspace ID is the unique, immutable, identifier assigned to each workspace represented as a globally unique identifier (GUID).
5153

0 commit comments

Comments
 (0)