Introduction
Diagnostic settings help you collect logs and metrics from your cloud resources. This lets you see what is happening inside your resources and fix problems quickly.
When you want to track how your virtual machines are performing over time.
When you need to collect logs from your storage accounts to check for access or errors.
When you want to send resource logs to a central place like a storage account or Log Analytics.
When you want to monitor your app services for errors and usage patterns.
When you want to keep a record of resource activity for security audits.