Skip to content

Commit d1cb53c

Browse files
committed
screenshots
1 parent 23f9a84 commit d1cb53c

File tree

5 files changed

+27
-1
lines changed

5 files changed

+27
-1
lines changed

articles/azure-monitor/essentials/data-collection-rule-view.md

Lines changed: 26 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.reviewer: nikeist
99
---
1010

1111
# View data collection rules in Azure Monitor
12-
There are multiple ways to view the DCRs in your subscription.
12+
There are multiple ways to view the DCRs in your subscription and the resources that they are associated with.
1313

1414
### [Portal](#tab/portal)
1515
To view your DCRs in the Azure portal, select **Data Collection Rules** under **Settings** on the **Monitor** menu.
@@ -21,6 +21,8 @@ Select a DCR to view its details. For DCRs supporting VMs, you can view and modi
2121
> [!NOTE]
2222
> Although this view shows all DCRs in the specified subscriptions, selecting the **Create** button will create a data collection for Azure Monitor Agent. Similarly, this page will only allow you to modify DCRs for Azure Monitor Agent. For guidance on how to create and update DCRs for other workflows, see [Create and edit data collection rules (DCRs) in Azure Monitor](./data-collection-rule-create-edit.md).
2323
24+
25+
2426
### [PowerShell](#tab/powershell)
2527
Use [Get-AzDataCollectionRule](/powershell/module/az.monitor/get-azdatacollectionrule) to retrieve the DCRs in your subscription.
2628

@@ -51,6 +53,29 @@ az monitor data-collection rule association list --resource "/subscriptions/0000
5153
```
5254
---
5355

56+
57+
58+
## Preview DCR experience
59+
A preview of the new Azure portal experience for DCRs is now available.
60+
61+
:::image type="content" source="media/data-collection-rule-view/preview-experience.png" alt-text="Screenshot of title bar to enable the preview experience for DCRs in the Azure portal." lightbox="media/data-collection-rule-view/preview-experience.png":::
62+
63+
The preview experience ties together DCRs and the resources they're associated with. You can either view the list by **Data collection rule**, which shows the number of resources associated with each DCR, or by **Resources**, which shows the count of DCRs associated with each resource.
64+
65+
> [!IMPORTANT]
66+
> Not all DCRs are associated with resources. For example, DCRs used with the [Logs ingestion API](../logs/logs-ingestion-api-overview.md) are specified in the API call and do not use associations. These DCRs still appear in the view, but will have a **Resource Count** of 0.
67+
68+
### Data collection rule view
69+
In the **Data collection rule** view, the **Resource count** represents the number of resources that have a [data collection rule association](./data-collection-rule-overview.md#data-collection-rule-associations) with the DCR. Click this value to open the **Resources** view for that DCR.
70+
71+
:::image type="content" source="media/data-collection-rule-view/data-collection-rules-view.png" alt-text="Screenshot of data collection rules view in the preview experience for DCRs in the Azure portal." lightbox="media/data-collection-rule-view/data-collection-rules-view.png":::
72+
73+
### Resources view
74+
The **Resources** view lists all Azure resources that match the selected filter. The **Data collection rules** column represents the number of DCRs that are associated with each resource. Click this value to open the **Data collection rule** view for that resource .
75+
76+
:::image type="content" source="media/data-collection-rule-view/resources-view.png" alt-text="Screenshot of resources view in the preview experience for DCRs in the Azure portal." lightbox="media/data-collection-rule-view/resources-view.png":::
77+
78+
5479
## Next steps
5580
See the following articles for additional information on how to work with DCRs.
5681

100 KB
Loading
262 KB
Loading
114 KB
Loading

articles/azure-monitor/toc.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -631,6 +631,7 @@ items:
631631
- name: Overview
632632
displayName: data collection, data collection rules
633633
href: essentials/data-collection-rule-overview.md
634+
- name:
634635
- name: Best practices
635636
displayName: data collection, data collection rules
636637
href: essentials/data-collection-rule-best-practices.md

0 commit comments

Comments
 (0)