官术网_书友最值得收藏!

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 that we created in the previous chapter 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.

主站蜘蛛池模板: 阿拉善盟| 临沭县| 宁陕县| 松滋市| 盐津县| 墨玉县| 宁南县| 大悟县| 新巴尔虎右旗| 灵宝市| 崇明县| 文化| 日土县| 乾安县| 延边| 莲花县| 通海县| 根河市| 文昌市| 娄烦县| 马龙县| 健康| 霍林郭勒市| 新平| 淮安市| 黄冈市| 中江县| 开阳县| 陕西省| 西乌| 达尔| 海晏县| 柯坪县| 张家川| 广西| 陵水| 石阡县| 邳州市| 昌图县| 建湖县| 高碑店市|