Skip to content

Commit 310126e

Browse files
authored
Merge pull request #277811 from MicrosoftDocs/main
Publish to live, Tuesday 4 AM PST, 6/11
2 parents deb54c7 + 06cfd99 commit 310126e

File tree

95 files changed

+904
-440
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

95 files changed

+904
-440
lines changed

includes/resource-graph/samples/bycat/azure-advisor.md renamed to articles/advisor/includes/azure-advisor.md

Lines changed: 11 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,29 +1,28 @@
11
---
2-
author: davidsmatlak
3-
ms.service: resource-graph
2+
ms.service: advisor
43
ms.topic: include
54
ms.date: 07/07/2022
6-
ms.author: davidsmatlak
7-
ms.custom: generated
5+
author: ikhapova
6+
ms.author: ikhapova
87
---
98

109
### Get cost savings summary from Azure Advisor
1110

12-
This query summarizes the cost savings of each [Azure Advisor](../../../../articles/advisor/advisor-overview.md) recommendation.
11+
This query summarizes the cost savings of each [Azure Advisor](../advisor-overview.md) recommendation.
1312

1413
```kusto
1514
AdvisorResources
1615
| where type == 'microsoft.advisor/recommendations'
1716
| where properties.category == 'Cost'
1817
| extend
19-
resources = tostring(properties.resourceMetadata.resourceId),
20-
savings = todouble(properties.extendedProperties.savingsAmount),
21-
solution = tostring(properties.shortDescription.solution),
22-
currency = tostring(properties.extendedProperties.savingsCurrency)
18+
resources = tostring(properties.resourceMetadata.resourceId),
19+
savings = todouble(properties.extendedProperties.savingsAmount),
20+
solution = tostring(properties.shortDescription.solution),
21+
currency = tostring(properties.extendedProperties.savingsCurrency)
2322
| summarize
24-
dcount(resources),
25-
bin(sum(savings), 0.01)
26-
by solution, currency
23+
dcount(resources),
24+
bin(sum(savings), 0.01)
25+
by solution, currency
2726
| project solution, dcount_resources, sum_savings, currency
2827
| order by sum_savings desc
2928
```

articles/advisor/resource-graph-samples.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,13 @@ ms.custom: subject-resourcegraph-sample
77
---
88
# Azure Resource Graph sample queries for Azure Advisor
99

10-
This page is a collection of [Azure Resource Graph](../governance/resource-graph/overview.md) sample queries for Azure Advisor. For a complete list of Azure Resource Graph samples, see [Resource Graph samples by Category](../governance/resource-graph/samples/samples-by-category.md) and [Resource Graph samples by Table](../governance/resource-graph/samples/samples-by-table.md).
10+
This page is a collection of [Azure Resource Graph](../governance/resource-graph/overview.md) sample queries for Azure Advisor.
1111

1212
## Sample queries
1313

14-
[!INCLUDE [azure-resource-graph-samples-cat-advisor](../../includes/resource-graph/samples/bycat/azure-advisor.md)]
14+
[!INCLUDE [azure-resource-graph-samples-cat-advisor](./includes/azure-advisor.md)]
1515

1616
## Next steps
1717

1818
- Learn more about the [query language](../governance/resource-graph/concepts/query-language.md).
1919
- Learn more about how to [explore resources](../governance/resource-graph/concepts/explore-resources.md).
20-
- See samples of [Starter language queries](../governance/resource-graph/samples/starter.md).
21-
- See samples of [Advanced language queries](../governance/resource-graph/samples/advanced.md).

includes/resource-graph/samples/bycat/azure-monitor.md renamed to articles/azure-monitor/includes/azure-monitor.md

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
11
---
2-
author: davidsmatlak
3-
ms.service: resource-graph
2+
ms.service: azure-monitor
43
ms.topic: include
54
ms.date: 08/04/2022
6-
ms.author: davidsmatlak
7-
ms.custom: generated
5+
author: bwren
6+
ms.author: bwren
87
---
98

109
### View recent Azure Monitor alerts
@@ -144,11 +143,11 @@ Returns the connected cluster ID of each Azure Arc-enabled Kubernetes cluster th
144143
Resources
145144
| where type =~ 'Microsoft.Kubernetes/connectedClusters' | extend connectedClusterId = tolower(id) | project connectedClusterId
146145
| 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
152151
) on connectedClusterId
153152
| where connectedClusterId1 == ''
154153
| project connectedClusterId

articles/azure-monitor/resource-graph-samples.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,17 +10,13 @@ ms.custom: subject-resourcegraph-sample
1010
# Azure Resource Graph sample queries for Azure Monitor
1111

1212
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.
1614

1715
## Azure Monitor
1816

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)]
2018

2119
## Next steps
2220

2321
- Learn more about the [query language](../governance/resource-graph/concepts/query-language.md).
2422
- 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).

articles/databox/data-box-logs.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,10 @@ During the data upload to Azure, a copy log is created.
200200

201201
For each order that is processed, the Data Box service creates a copy log in the associated storage account. The copy log has the total number of files that were uploaded and the number of files that errored out during the data copy from Data Box to your Azure storage account.
202202

203-
A Cyclic Redundancy Check (CRC) computation is done during the upload to Azure. The CRCs from the data copy and after the data upload are compared. A CRC mismatch indicates that the corresponding files failed to upload.
203+
> [!NOTE]
204+
> A Cyclic Redundancy Check (CRC) computation is completed during the upload to Azure. The CRCs from the data copy and data upload are compared. A CRC mismatch indicates that the corresponding files failed to upload.
205+
>
206+
> You can use the CRC checksum tool script to compare the checksums of the on-premises source data with the data uploaded to Azure. The script can be downloaded from [Azure Samples](https://github.com/Azure-Samples/data-box-samples/tree/main/JavaToolforCRC). See the [README file](https://github.com/Azure-Samples/data-box-samples/blob/main/JavaToolforCRC/README.md) for more information.
204207
205208
By default, logs are written to a container named `copylog`. The logs are stored with the following naming convention:
206209

0 commit comments

Comments
 (0)