File tree Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Expand file tree Collapse file tree 2 files changed +10
-15
lines changed Original file line number Diff line number Diff line change 1
1
---
2
- author : davidsmatlak
3
- ms.service : resource-graph
2
+ ms.service : azure-monitor
4
3
ms.topic : include
5
4
ms.date : 08/04/2022
6
- ms. author : davidsmatlak
7
- ms.custom : generated
5
+ author : bwren
6
+ ms.author : bwren
8
7
---
9
8
10
9
### View recent Azure Monitor alerts
@@ -144,11 +143,11 @@ Returns the connected cluster ID of each Azure Arc-enabled Kubernetes cluster th
144
143
Resources
145
144
| where type =~ 'Microsoft.Kubernetes/connectedClusters' | extend connectedClusterId = tolower(id) | project connectedClusterId
146
145
| join kind = leftouter
147
- (KubernetesConfigurationResources
148
- | where type == 'microsoft.kubernetesconfiguration/extensions'
149
- | where properties.ExtensionType == 'microsoft.azuremonitor.containers'
150
- | parse tolower(id) with connectedClusterId '/providers/microsoft.kubernetesconfiguration/extensions' *
151
- | project connectedClusterId
146
+ (KubernetesConfigurationResources
147
+ | where type == 'microsoft.kubernetesconfiguration/extensions'
148
+ | where properties.ExtensionType == 'microsoft.azuremonitor.containers'
149
+ | parse tolower(id) with connectedClusterId '/providers/microsoft.kubernetesconfiguration/extensions' *
150
+ | project connectedClusterId
152
151
) on connectedClusterId
153
152
| where connectedClusterId1 == ''
154
153
| project connectedClusterId
Original file line number Diff line number Diff line change @@ -10,17 +10,13 @@ ms.custom: subject-resourcegraph-sample
10
10
# Azure Resource Graph sample queries for Azure Monitor
11
11
12
12
This page is a collection of [ Azure Resource Graph] ( ../governance/resource-graph/overview.md ) sample queries
13
- for Azure Monitor. For a complete list of Azure Resource Graph samples, see:
14
- - [ Resource Graph samples by category] ( ../governance/resource-graph/samples/samples-by-category.md )
15
- - [ Resource Graph samples by table] ( ../governance/resource-graph/samples/samples-by-table.md )
13
+ for Azure Monitor.
16
14
17
15
## Azure Monitor
18
16
19
- [ !INCLUDE [ azure-resource-graph-samples-cat-monitor] ( ../../ includes/resource-graph/samples/bycat /azure-monitor.md )]
17
+ [ !INCLUDE [ azure-resource-graph-samples-cat-monitor] ( ./ includes/azure-monitor.md )]
20
18
21
19
## Next steps
22
20
23
21
- Learn more about the [ query language] ( ../governance/resource-graph/concepts/query-language.md ) .
24
22
- Learn more about how to [ explore resources] ( ../governance/resource-graph/concepts/explore-resources.md ) .
25
- - See samples of [ starter language queries] ( ../governance/resource-graph/samples/starter.md ) .
26
- - See samples of [ advanced language queries] ( ../governance/resource-graph/samples/advanced.md ) .
You can’t perform that action at this time.
0 commit comments