Skill 1.1.2
Recommend a solution for routing logs
Key Concepts
A diagnostic setting sends resource logs and metrics to a Log Analytics workspace for analysis, a storage account for low-cost archive, an event hub for streaming to an external system, or a partner solution. A setting can hold one destination of each type, and a resource can have up to five settings. Subscription and Microsoft Entra diagnostic settings export the activity log and tenant logs.
The Azure Monitor Agent uses data collection rules to route guest data, including to several workspaces. Azure Policy with the deployIfNotExists effect applies diagnostic settings to new resources automatically, which keeps coverage complete without relying on individual teams.