Overview of Azure platform logs

Platform logs provide detailed diagnostic and auditing information for Azure resources and the Azure platform they depend on. They are automatically generated although you need to configure certain platform logs to be forwarded to one or more destinations to be retained. This article provides an overview of platform logs including what information they provide and how you can configure them for collection and analysis.

Types of platform logs

The following table lists the specific platform logs that are available at different layers of Azure.

Log Layer Description
Resource logs Azure Resources Provide insight into operations that were performed within an Azure resource (the data plane), for example getting a secret from a Key Vault or making a request to a database. The content of resource logs varies by the Azure service and resource type.

Resource logs were previously referred to as diagnostic logs.
Activity log Azure Subscription Provides insight into the operations on each Azure resource in the subscription from the outside (the management plane) in addition to updates on Service Health events. Use the Activity Log, to determine the what, who, and when for any write operations (PUT, POST, DELETE) taken on the resources in your subscription. There is a single Activity log for each Azure subscription.
Azure Active Directory logs Azure Tenant Contains the history of sign-in activity and audit trail of changes made in the Azure Active Directory for a particular tenant.


The Azure Activity Log is primarily for activities that occur in Azure Resource Manager. It does not track resources using the Classic/RDFE model. Some Classic resource types have a proxy resource provider in Azure Resource Manager (for example, Microsoft.ClassicCompute). If you interact with a Classic resource type through Azure Resource Manager using these proxy resource providers, the operations appear in the Activity Log. If you interact with a Classic resource type outside of the Azure Resource Manager proxies, your actions are only recorded in the Operation Log. The Operation Log can be browsed in a separate section of the portal.

Platform logs overview

Viewing platform logs

There are different options for viewing and analyzing the different Azure platform logs.

  • View the Activity log in the Azure portal and access events from PowerShell and CLI. See View the Activity log for details.
  • View Azure Active Directory Security and Activity reports in the Azure portal. See What are Azure Active Directory reports? for details.
  • Resource logs are automatically generated by supported Azure resources, but they aren't available to be viewed unless you create a diagnostic setting.

Diagnostic settings

Create a diagnostic setting to send platform logs to one of the following destinations for analysis or other purposes. Resource logs must have a diagnostic setting be used since they have no other way of being viewed.

Destination Description
Log Analytics workspace Analyze the logs of all your Azure resources together and take advantage of all the features available to Azure Monitor Logs including log queries and log alerts. Pin the results of a log query to an Azure dashboard or include it in a workbook as part of an interactive report.
Event hub Send platform log data outside of Azure, for example to a third-party SIEM or custom telemetry platform.
Azure storage Archive the logs for audit or backup.
Azure Monitor partner integrations Specialized integrations between Azure Monitor and other non-Microsoft monitoring platforms. Useful when you are already using one of the partners.

Pricing model

Processing data to stream logs is charged for certain services when sent to destinations other than a Log Analytics workspace. There's no direct charge when this data is sent to a Log Analytics workspace, but there is a Log Analytics charge for ingesting the data into a workspace.

The charge is based on the number of bytes in the exported JSON formatted log data, measured in GB (10^9 bytes).

Pricing is available on the Azure Monitor pricing page.

Next steps