Best practice for azure VM (web server) diagnostics settings

RJ 1 Reputation point
2021-03-29T02:32:33.98+00:00

Hi, I generally use log analytics to monitor azure VMs. I like the performance counter, event log settings. When it comes to IIS on azure VM, I would like to know if it is worth collecting IIS logs (wad-iis-logfiles) and other diagnostic settings, and if so, what is the best practice here.

Azure Monitor
Azure Monitor
An Azure service that is used to collect, analyze, and act on telemetry data from Azure and on-premises environments.
2,792 questions
Azure Virtual Machines
Azure Virtual Machines
An Azure service that is used to provision Windows and Linux virtual machines.
7,101 questions
{count} votes

1 answer

Sort by: Most helpful
  1. SUNOJ KUMAR YELURU 13,921 Reputation points MVP
    2021-03-29T04:14:50.287+00:00

    Hi @RJ

    I suggest to have Internet Information Services (IIS) stores user activity in log files that can be collected by the Log Analytics agent and stored in Azure Monitor Logs.
    Configure Logging in IIS

    The performance diagnostics tool helps you troubleshoot performance issues that can affect a Windows or Linux virtual machine (VM) that involve slow VM performance or high usage of CPU, disk space, or memory.

    If the Answer is helpful, please click Accept Answer and up-vote, this can be beneficial to other community members.