Azure activity log and activity log insights - Azure Monitor (2024)

  • Article

The Azure Monitor activity log is a platform log that provides insight into subscription-level events. The activity log includes information like when a resource is modified or a virtual machine is started. This article provides information on how to view the activity log and send it to different destinations.

View the activity log

You can access the activity log from most menus in the Azure portal. The menu that you open it from determines its initial filter. If you open it from the Monitor menu, the only filter is on the subscription. If you open it from a resource's menu, the filter is set to that resource. You can always change the filter to view all other entries. Select Add Filter to add more properties to the filter.

Azure activity log and activity log insights - Azure Monitor (1)

For a description of activity log categories, see Azure activity log event schema.

Download the activity log

Select Download as CSV to download the events in the current view.

Azure activity log and activity log insights - Azure Monitor (2)

View change history

For some events, you can view the change history, which shows what changes happened during that event time. Select an event from the activity log you want to look at more deeply. Select the Change history tab to view any changes on the resource up to 30 minutes before and after the time of the operation.

Azure activity log and activity log insights - Azure Monitor (3)

If any changes are associated with the event, you'll see a list of changes that you can select. Selecting a change opens the Change history page. This page displays the changes to the resource. In the following example, you can see that the VM changed sizes. The page displays the VM size before the change and after the change. To learn more about change history, see Get resource changes.

Azure activity log and activity log insights - Azure Monitor (4)

Retention period

Activity log events are retained in Azure for 90 days and then deleted. There's no charge for entries during this time regardless of volume. For more functionality, such as longer retention, create a diagnostic setting and route the entries to another location based on your needs. See the criteria in the preceding section.

Activity log insights

Activity log insights provide you with a set of dashboards that monitor the changes to resources and resource groups in a subscription. The dashboards also present data about which users or services performed activities in the subscription and the activities' status. This article explains how to onboard and view activity log insights in the Azure portal.

Activity log insights are a curated Log Analytics workbook with dashboards that visualize the data in the AzureActivity table. For example, data might include which administrators deleted, updated, or created resources and whether the activities failed or succeeded.

Azure Monitor stores all activity logs you send to a Log Analytics workspace in a table called AzureActivity. Before you use activity log insights, you must enable sending logs to your Log Analytics workspace.

Azure activity log and activity log insights - Azure Monitor (5)

View resource group or subscription-level activity log insights

To view activity log insights at the resource group or subscription level:

  1. In the Azure portal, select Monitor > Workbooks.

  2. In the Insights section, select Activity Logs Insights.

    Azure activity log and activity log insights - Azure Monitor (6)

  3. At the top of the Activity Logs Insights page, select:

    • One or more subscriptions from the Subscriptions dropdown.
    • Resources and resource groups from the CurrentResource dropdown.
    • A time range for which to view data from the TimeRange dropdown.

View resource-level activity log insights

Note

Activity log insights does not currently support Application Insights resources.

To view activity log insights at the resource level:

  1. In the Azure portal, go to your resource and select Workbooks.

  2. In the Activity Logs Insights section, select Activity Logs Insights.

    Azure activity log and activity log insights - Azure Monitor (7)

  3. At the top of the Activity Logs Insights page, select a time range for which to view data from the TimeRange dropdown:

    • Azure Activity Log Entries shows the count of activity log records in each activity log category.

      Azure activity log and activity log insights - Azure Monitor (8)

    • Activity Logs by Status shows the count of activity log records in each status.

      Azure activity log and activity log insights - Azure Monitor (9)

    • At the subscription and resource group level, Activity Logs by Resource and Activity Logs by Resource Provider show the count of activity log records for each resource and resource provider.

      Azure activity log and activity log insights - Azure Monitor (10)

Next steps

Learn more about:

Azure activity log and activity log insights - Azure Monitor (2024)

FAQs

What is the difference between Azure Log Analytics and Azure Monitor logs? ›

In conclusion, Azure Monitor and Log Analytics collectively offer a robust solution for monitoring Azure resources. While Azure Monitor provides a lot of features including aggregation of logs, real-time insights and performance metrics, Log Analytics allows advanced query capabilities and extensive log data analysis.

What is the difference between Azure Monitor and Azure insights? ›

In summary, Azure Application Insights focuses on monitoring the performance and user behavior of applications, while Azure Monitor provides a broader scope of monitoring for applications, infrastructure, and operating systems.

What does an Azure Monitor do once enough data is collected? ›

Azure Monitor collects and aggregates data from various sources into a common data platform where it can be used for analysis, visualization, and alerting. It provides a consistent experience on top of data from multiple sources.

Which of the following events will be logged into the activity log of an Azure Monitor? ›

The Azure Monitor activity log is a platform log that provides insight into subscription-level events. The activity log includes information like when a resource is modified or a virtual machine is started.

What is the difference between log monitoring and log analytics? ›

Whereas log monitoring is the process of tracking logs, log analytics evaluates logs in context to understand their significance. This includes troubleshooting issues with software, services, applications, and any infrastructure with which they interact.

What is Azure Insights? ›

Azure Application Insights is an extensible analytics service that helps you understand the performance and usage of your live web application. Connect to your Application Insights resource to run and visualize various Analytics queries.

How long are Azure Monitor activity logs kept? ›

Activity log events are retained in the Azure platform for 90 days.

Which of the following is a benefit of using Azure Monitor insights? ›

Benefit 1: Unified Monitoring

Azure Application Insights with Grafana offers a unified monitoring platform, enabling you to gather data from various sources within your application. This comprehensive approach helps you gain holistic insights into performance, usage patterns, and user behaviors.

What two types of data are used by an Azure Monitor? ›

Application data
Data typeDescription
MetricsNumeric data measuring the performance of your application and user requests measured over intervals of time.
TracesTraces are a series of related events tracking end-to-end requests through the components of your application.
1 more row
Apr 8, 2024

What are the limitations of Azure Monitor? ›

Alert and recording rules
LimitValue
Rule groups per Azure Monitor workspace, in an Azure subscription500 You can request an increase.
Rules per rule group20 This limit can't be increased.
Rule group evaluation intervalBetween 1 minute - 24 hours. Default is 1 minute.
Active alertsNo limit at this time.
Oct 10, 2023

What is the benefit of Azure Monitor? ›

Benefits of Azure Monitor

Visualizations, including charts and graphs for insights into resource performance. Application Insights, built-in metrics for understanding resource use, including inbound and outbound data, state, and application performance. Easy-to-create alerts.

What should you use to create an activity log alert in an Azure Monitor? ›

Activity log alert rules are Azure resources, so they can be created by using an Azure Resource Manager template. They also can be created, updated, or deleted in the Azure portal. An activity log alert only monitors events in the subscription in which the alert is created.

What is the difference between resource log and activity log? ›

From the docs: Resource logs/Diagnostic Logs capture activity to the data access plane while the Activity log is a subscription-level log for the control plane. Resource-level diagnostic logs provide insight into operations that were performed within that resource itself.

What is the difference between log analytics and Azure Monitor workspace? ›

Each workspace has its own data repository, configuration, and permissions. Log Analytics workspaces contain logs and metrics data from multiple Azure resources, whereas Azure Monitor workspaces currently contain only metrics related to Prometheus.

What is Azure Monitor and Log analytics? ›

Log Analytics is a tool in the Azure portal to edit and run log queries from data collected by Azure Monitor logs and interactively analyze their results. You can use Log Analytics queries to retrieve records that match particular criteria, identify trends, analyze patterns, and provide various insights into your data.

What is Azure Monitor and analytics? ›

Azure Monitor is a comprehensive monitoring solution for collecting, analyzing, and responding to monitoring data from your cloud and on-premises environments. You can use Azure Monitor to maximize the availability and performance of your applications and services.

What are Azure Monitor logs? ›

The Azure Monitor activity log is a platform log that provides insight into subscription-level events. The activity log includes information like when a resource is modified or a virtual machine is started.

Top Articles
Latest Posts
Article information

Author: Saturnina Altenwerth DVM

Last Updated:

Views: 6275

Rating: 4.3 / 5 (44 voted)

Reviews: 83% of readers found this page helpful

Author information

Name: Saturnina Altenwerth DVM

Birthday: 1992-08-21

Address: Apt. 237 662 Haag Mills, East Verenaport, MO 57071-5493

Phone: +331850833384

Job: District Real-Estate Architect

Hobby: Skateboarding, Taxidermy, Air sports, Painting, Knife making, Letterboxing, Inline skating

Introduction: My name is Saturnina Altenwerth DVM, I am a witty, perfect, combative, beautiful, determined, fancy, determined person who loves writing and wants to share my knowledge and understanding with you.