Send data from Azure Diagnostics extension to Azure Monitor Logs using Azure Diagnostics extension

Azure Diagnostics extension is an agent in Azure Monitor that collects monitoring data from the guest operating system of Azure compute resources including virtual machines. This article describes how to collect data collected by the diagnostics extension from Azure Storage to Azure Monitor Logs.

Important

Azure Diagnostics extension will be deprecated on March 31, 2026. After this date, Microsoft will no longer provide support for the Azure Diagnostics extension and the scenario of collecting logs from Azure Storage. We recommend using Azure Monitor Agent, which ingests telemetry directly to Azure Monitor Logs.

Supported data types

Azure Diagnostics extension stores data in an Azure Storage account. For Azure Monitor Logs to collect this data, it must be in the following locations:

Log type Resource type Location
IIS logs Virtual machines
Web roles
Worker roles
wad-iis-logfiles (Azure Blob Storage)
Syslog Virtual machines LinuxsyslogVer2v0 (Azure Table Storage)
Azure Service Fabric Operational Events Service Fabric nodes WADServiceFabricSystemEventTable
Service Fabric Reliable Actor Events Service Fabric nodes WADServiceFabricReliableActorEventTable
Service Fabric Reliable Service Events Service Fabric nodes WADServiceFabricReliableServiceEventTable
Windows Event logs Service Fabric nodes
Virtual machines
Web roles
Worker roles
WADWindowsEventLogsTable (Table Storage)
Windows ETW logs Service Fabric nodes
Virtual machines
Web roles
Worker roles
WADETWEventTable (Table Storage)

Data types not supported

The following data types aren't supported:

  • Performance data from the guest operating system
  • IIS logs from Azure websites

Enable Azure Diagnostics extension

For information on how to install and configure the diagnostics extension, see Install and configure Azure Diagnostics extension for Windows (WAD) or Use Azure Diagnostics extension for Linux to monitor metrics and logs. You can specify the storage account and configure collection of the data that you want to forward to Azure Monitor Logs.

Collect logs from Azure Storage

To enable collection of diagnostics extension data from an Azure Storage account:

  1. In the Azure portal, go to Log Analytics Workspaces and select your workspace.
  2. Select Legacy storage account logs in the Classic section of the menu.
  3. Select Add.
  4. Select the Storage account that contains the data to collect.
  5. Select the Data Type you want to collect.
  6. The value for Source is automatically populated based on the data type.
  7. Select OK to save the configuration.
  8. Repeat for more data types.

In approximately 30 minutes, you'll see data from the storage account in the Log Analytics workspace. You'll only see data that's written to storage after the configuration is applied. The workspace doesn't read the preexisting data from the storage account.

Note

The portal doesn't validate that the source exists in the storage account or if new data is being written.

Next steps