QuestionQ298

VerifiedMonitor and maintain Azure resources

You have an Azure virtual machine named VM1 that runs Windows Server 2016.

You need to create an alert in Azure when more than two error events are logged to the System event log on VM1 within an hour.

Solution: You create an Azure Storage account and configure shared access signatures (SASs). You install the Microsoft Monitoring Agent on VM1. You create an alert in Azure Monitor and specify the storage account as the source.

Does this meet the goal?

Explanation

Windows Event Log entries from a VM must be collected into Azure Monitor Logs, where they can be queried from the Event table and evaluated by a log alert rule. Azure Monitor alerts use metric or log data sources in the Azure Monitor platform, and guest event-log alerting for VMs is based on log data sent to a Log Analytics workspace, not a storage account secured with SAS. Because the proposed alert uses the storage account as the source instead of Log Analytics/Azure Monitor Logs, it does not satisfy the requirement.

Learn more

Community Discussion

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