
close
close
Azure Monitor is currently in preview and can be used to run searches against log information collected from resources across an Azure subscription. Alerts can also be triggered based on metrics that you define. In this article, I’ll show you how to view and filter the activity log, save your queries, and view and enable diagnostic logs.
advertisment
Let’s start by opening Azure Monitor and applying filters to find information about specific resources. To follow the instructions below, you’ll need an active Azure subscription.
In the Activity log pane, you can filter the view to find specific information.
Activity Logs in Azure Monitor (Image Credit: Russell Smith)
If you don’t get any results, you might need to change the Timespan filter option. I changed it from last hour to last month. Let’s change the filter and specify a Resource Group (RG), and then save and pin the results to create a tile on the dashboard for quick access to a single view of information for operational logs.
advertisment
Save a query in Azure Monitor (Image Credit: Russell Smith)
Azure Monitor also allows you to enable and view diagnostic logs for your Azure resources. For example, Windows event system logs are a type of diagnostic log for VMs running Windows Server. Blob, table, and queue logs are available for storage accounts. Diagnostic logs differ from activity logs, which show configuration actions that were performed on resources in an Azure subscription.
Enable diagnostic logging in Azure Monitor (Image Credit: Russell Smith)
Diagnostic logs in Azure Monitor (Image Credit: Russell Smith)
If diagnostic logs are being stored in a storage account, you will see a list of logs that you can directly download in the Diagnostic logs window. Diagnostic logs can be enabled and disabled individually for each Azure resource.
In this article, I showed you how to view and filter the results of the activity logs, save your queries, and view and enable diagnostic logging. In an upcoming article, I’ll show you how to configure metrics and alerts in Azure Monitor.
advertisment
More from Russell Smith
advertisment
Petri Newsletters
Whether it’s Security or Cloud Computing, we have the know-how for you. Sign up for our newsletters here.
advertisment
More in Cloud Computing
Use Azure ExpressRoute Private Peering & Azure Virtual WAN to Connect Privately to Microsoft 365
Apr 21, 2022 | Flo Fox
Microsoft to Make Changes to Cloud Licensing Restrictions after Customer Complaints
Apr 18, 2022 | Rabia Noureen
Most popular on petri
Log in to save content to your profile.
Article saved!
Access saved content from your profile page. View Saved
Join The Conversation
Create a free account today to participate in forum conversations, comment on posts and more.
Copyright ©2019 BWW Media Group