- Lab
-
Libraries: If you want this lab, consider one of these libraries.
- Cloud

Configure Data Collection for Azure Monitor
Learn how to collect various types of monitoring data from Azure resources, including resource logs and metrics, activity logs, and virtual machine guest logs.

Lab Info
Table of Contents
-
Challenge
Deploy a Log Analytics Workspace
-
Challenge
Collect Platform Logs
- Collect blob service resource logs from the storage account
- Simulate collecting activity logs from the subscription
-
Challenge
Collect Virtual Machine Logs
- Create a Data Collection Rule to collect Critical, Error and Warning System Windows Event Logs from the virtual machine.
-
Challenge
Review the Results
-
Confirm the AzureMonitorWindowsAgent (Microsoft.Azure.Monitor.AzureMonitorWindowsAgent) is installed on the virtual machine
-
Review the Log Analytics workspace tables and ensure that a
StorageBlobLogs
andHeartbeat
table have been createdNote: It might take a few minutes for all the tables to be created. If the StorageBlobLogs table is not created, you can perform a data plane operation like creating a blob container to trigger a resource log entry to be created.
-
About the author
Real skill practice before real-world application
Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.
Learn by doing
Engage hands-on with the tools and technologies you’re learning. You pick the skill, we provide the credentials and environment.
Follow your guide
All labs have detailed instructions and objectives, guiding you through the learning process and ensuring you understand every step.
Turn time into mastery
On average, you retain 75% more of your learning if you take time to practice. Hands-on labs set you up for success to make those skills stick.