search
Get Started
search
Azure Monitor Diagnostic Settings - Azure Monitor
zoom_in Click to enlarge

Azure Monitor Diagnostic Settings

description Azure Monitor Diagnostic Settings Overview

This feature is the mechanism used to explicitly route diagnostic logs from a resource (like a Storage Account or VM) to a destination, typically Log Analytics. While powerful for ensuring specific logs are captured, it is considered a foundational, lower-level mechanism compared to the unified AMA. It is best used when you need to guarantee a specific, raw log stream is exported.

help Azure Monitor Diagnostic Settings FAQ

What destinations can Azure Monitor diagnostic settings send logs to?

A diagnostic setting can route a resource's logs and metrics to a Log Analytics workspace, an Azure Storage account for archival, an Event Hub for streaming to external tools, or certain partner destinations. You can combine multiple destinations in a single setting.

How do I apply diagnostic settings to hundreds of Azure resources at once?

Manually configuring each resource doesn't scale, so the standard approach is an Azure Policy initiative using DeployIfNotExists rules. These policies automatically create diagnostic settings on new resources across a subscription or management group.

What's the difference between the Activity Log and diagnostic settings?

The Azure Activity Log captures subscription-level control-plane events like who created or deleted a resource, and it exists by default. Diagnostic settings are the explicit mechanism for exporting a specific resource's own logs, such as data-plane or audit logs from a Storage account or VM.

Reviews & Comments

Write a Review

rate_review

Be the first to review

Share your thoughts with the community and help others make better decisions.

Save to your list

Save your favorites and follow how their scores change over time.

Save favorites
Track changes
Compare scores

Already have an account? Sign in

Compare Items

See how they stack up against each other

Comparing
VS
Select 1 more item to compare