Linux VM Disk Write Operations Increased 10x After Configuring Data Collection Rule

Enrique Polo 1 Reputation point
2021-08-31T20:38:06.18+00:00

I recently configured DCR for my Linux VM, and have noticed a 10x increase in disk write bytes since that time. Can I get some recommendations on how to optimize my DCR to reduce unnecessary writes to disk? I am temporarily disabling DCR to avoid excess cost accumulation, but would like to continue monitoring the logs and counters without it being so expensive. I'm attaching screenshots of the disk operation metrics, as well as how DCR is configured.

128027-image.png

128015-image.png

128074-image.png128081-image.png

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
3,037 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,585 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Stanislav Zhelyazkov 22,251 Reputation points MVP
    2021-09-01T08:06:24.323+00:00

    Hi,
    Overall, it is best to log an official case to Microsoft support as the agent should not significantly degrade the performance of your VM. Specifically, to the rule on the screenshot it is best to configure it according to what you need to monitor. For example, LOG_DEBUG seems too much. Maybe you can switch to LOG_NOTICE, LOG_WARNING or LOG_ERR. Also check if you need all the logs listed. May be if you do not need some you can set them to none.

    Please "Accept the answer" if the information helped you. This will help us and others in the community as well.

    0 comments No comments