Forum Discussion
gaycnpch
Sep 05, 2022Copper Contributor
Setting up Diagnostics settings automatically for Resources
Hi All, We have centralized log analytics workspace within dedicated subscription. Rest of the resources are available in multiple spoke subscriptions. We need to automatically configure diagnostic...
mikhailf
Sep 05, 2022Steel Contributor
Hello gaycnpch ,
You can use Azure Policy to configure Diagnostic Settings at scale.
Create diagnostic settings at scale using Azure Policy - Azure Monitor | Microsoft Docs
Use "Remediation task" to set it for the resources that have been created before you apply the policy.