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

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.

主站蜘蛛池模板: 焦作市| 福泉市| 肃宁县| 沂源县| 黄骅市| 阳高县| 嵊泗县| 花垣县| 西和县| 新安县| 大余县| 垫江县| 兴仁县| 武定县| 天祝| 云林县| 水城县| 防城港市| 库伦旗| 屏东市| 拉萨市| 祥云县| 东源县| 鲁山县| 崇礼县| 巨野县| 许昌市| 平陆县| 云阳县| 兴化市| 昌吉市| 连江县| 灵寿县| 岳池县| 休宁县| 来安县| 交城县| 嵩明县| 通许县| 遵化市| 卫辉市|