Azure Spring Clean : Diagnostic Settings

What is the Diagnostic Settings ?

Before talking about the Diagnostic Settings, we must understand the data source on Azure Monitor.

Image from MS Docs
  • Metrics :
  • Logs :

How to set Diagnostic Settings ?

Each resource has its own diagnostic setting defined by :

  • Categories of Logs and metric data sent to the destination
  • Destinations to send the logs
  • How to achieve this ?
  • The Policy :

Taking it to the next level

Alright, now that we have our security compliance (so the Diagnostic Settings up). How can we maintain it ? I mean how can we avoid the deletion of the diagnostic settings by someone and don’t wait until the deployIfNotexists run a compliance recovery :



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store