You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/log-analytics/log-analytics-cross-workspace-search.md
+7-6Lines changed: 7 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -21,7 +21,7 @@ ms.author: magoedte
21
21
22
22
Previously with Azure Log Analytics, you could only analyze data from within the current workspace and this limited your ability to query across multiple workspaces defined in your subscription.
23
23
24
-
Now you can query across multiple workspaces, providing a system-wide view of your data. You can only perform this type of query in the [Advanced portal](log-analytics-log-search-portals#advanced-analytics-portal), not in the Azure portal.
24
+
Now you can query across multiple workspaces, providing a system-wide view of your data. You can only perform this type of query in the [Advanced portal](log-analytics-log-search-portals.md#advanced-analytics-portal), not in the Azure portal.
25
25
26
26
## Querying across Log Analytics workspaces
27
27
To reference another workspace in your query, use the *workspace* identifier. For example, the following query returns summarized counts of updates needed by their classification from the Update table from both the current workspace, and another workspace named *contosoretail-it*.
@@ -30,21 +30,22 @@ To reference another workspace in your query, use the *workspace* identifier. F
30
30
## Identifying resources
31
31
Identifying a workspace can be done in several ways:
32
32
33
-
* Resource name - this is a human-readable name of the workspace, sometimes referred to as *component name*.
33
+
* Resource name - is a human-readable name of the workspace, sometimes referred to as *component name*.
34
34
35
35
`workspace("contosoretail").Update | count`
36
36
37
37
>[!NOTE]
38
-
>Identifying a workspace by its name assumes it is unique across all accessible subscriptions. If you have multiple applications with the specified name, the query will fail because of the ambiguity. In this case you must use one of the other identifiers.
38
+
>Identifying a workspace by its name assumes it is unique across all accessible subscriptions. If you have multiple applications with the specified name, the query fails because of the ambiguity. In this case you must use one of the other identifiers.
39
39
40
-
* Qualified Name - this is the “full name” of the workspace, composed of the subscription name, resource group and component name in this format: *<subscriptionName>/<resourceGroup>/<componentName>*.
40
+
* 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>*.
0 commit comments