Send data from Azure Diagnostics extension to Azure Monitor Logs
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.
The Log Analytics agent in Azure Monitor is typically the preferred method to collect data from the guest operating system into Azure Monitor Logs. For a comparison of the agents, see Overview of the Azure Monitor agents.
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
|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
|WADWindowsEventLogsTable (Table Storage)|
|Windows ETW logs||Service Fabric nodes
|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:
- In the Azure portal, go to Log Analytics Workspaces and select your workspace.
- Select Legacy storage account logs in the Classic section of the menu.
- Select Add.
- Select the Storage account that contains the data to collect.
- Select the Data Type you want to collect.
- The value for Source is automatically populated based on the data type.
- Select OK to save the configuration.
- 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.
The portal doesn't validate that the source exists in the storage account or if new data is being written.
- Collect logs and metrics for Azure services for supported Azure services.
- Enable solutions to provide insight into the data.
- Use search queries to analyze the data.
Submit and view feedback for