Enabling diagnostic settings

To enable the diagnostic settings for resources, perform the following steps:

  1. Navigate to the Azure portal by opening https://portal.azure.com.
  2. Go to the VM again. Make sure that the VM is running, and in the left-hand menu, under Monitoring, select Diagnostic settings
  3. The Diagnostic Settings blade will open up. You will need to select a storage account where the metrics can be stored.
  1. Click on the Enable guest-level monitoring button to update the diagnostic settings for the virtual machine:

Enabling diagnostic settings for a virtual machine
  1. When the settings are updated, you can go to Metrics in the top menu to set the metrics that are collected. The syslog blade is used for setting the minimum log level.
  2. New metrics will be available from the metrics blade after enabling diagnostic logging in Azure Monitor. You can analyze them in the same way that we did earlier in this chapter, in the Metrics section.

In the next section, we're going to look at the Azure Log Analytics service, which is now a part of Azure Monitor as well.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset