QuestionQ122

VerifiedMonitor and maintain Azure resources

You have an Azure subscription that contains two Log Analytics workspaces named Workspace1 and Workspace2 and 100 virtual machines that run Windows Server.

You need to collect performance data and events from the virtual machines. The solution must meet the following requirements:

  • Logs must be sent to Workspace1 and Workspace2.
  • All Windows events must be captured.
  • All security events must be captured.

What should you install and configure on each virtual machine?

Explanation

Azure Monitor agent supports collecting Windows event logs and performance counters from Windows virtual machines by using data collection rules. Microsoft Learn also states that Windows event data and performance counter data can be sent to multiple Log Analytics workspaces, which meets the requirement to send the same data to Workspace1 and Workspace2. Security events are included by collecting the Security log through the Windows event data source. The Windows VM agent is only the guest agent used to manage extensions, and Azure Diagnostics extension is a legacy solution rather than the correct current monitoring agent for this requirement.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!