Skip to content

Commit fbf631c

Browse files
committed
create associations
1 parent b82a345 commit fbf631c

File tree

4 files changed

+20
-5
lines changed

4 files changed

+20
-5
lines changed

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

Lines changed: 20 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,40 @@ az monitor data-collection rule association list --resource "/subscriptions/0000
5656

5757

5858
## Preview DCR experience
59-
A preview of the new Azure portal experience for DCRs is now available.
59+
A preview of the new Azure portal experience for DCRs is now available. Select the option on the displayed banner to enable this experience.
6060

6161
:::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":::
6262

6363
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.
6464

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.
6765

6866
### Data collection rule view
6967
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.
7068

7169
:::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":::
7270

7371
### 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 .
72+
The **Resources** view lists all Azure resources that match the selected filter, whether they have a DCR association or not. Tiles at the top of the view list the count of total resources listed, the number of resources not associated with a DCR, and the total number of DCRs matching the selected filter.
73+
74+
:::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":::
75+
76+
The **Data collection rules** column represents the number of DCRs that are associated with each resource. Click this value to open a new pane listing the DCRs associated with the resource.
77+
78+
:::image type="content" source="media/data-collection-rule-view/resources-view-association.png" alt-text="Screenshot of the DCR associations for a resource in the resources view in the preview experience for DCRs in the Azure portal." lightbox="media/data-collection-rule-view/resources-view-association.png":::
79+
80+
> [!IMPORTANT]
81+
> 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.
82+
83+
### Create new associations
84+
Using the **Resources** view, you can create new associations to one or more DCRs for a particular resource. Select the resource and then click **Associate to existing data collection rules**.
85+
86+
:::image type="content" source="media/data-collection-rule-view/resources-view-associate.png" alt-text="Screenshot of the create association button in the resources view in the preview experience for DCRs in the Azure portal." lightbox="media/data-collection-rule-view/resources-view-associate.png":::
87+
88+
This opens a list of DCRs that can be associated with the current resource. This list only includes DCRs that are valid for the particular resource. For example, if the resource is a VM with the Azure Monitor agent (AMA) installed, only DCRs that process AMA data are listed.
7589

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":::
90+
:::image type="content" source="media/data-collection-rule-view/resources-view-create-associations.png" alt-text="Screenshot of the create associations view in the resources view in the preview experience for DCRs in the Azure portal." lightbox="media/data-collection-rule-view/resources-view-create-associations.png":::
7791

92+
Click **Review & Associate** to create the association.
7893

7994
## Next steps
8095
See the following articles for additional information on how to work with DCRs.
117 KB
Loading
157 KB
Loading
109 KB
Loading

0 commit comments

Comments
 (0)