---
title: Azure Log Analytics
description: >-
  Monitor Azure Log Analytics workspace data export and agent-reported host
  metrics.
breadcrumbs: Docs > Integrations > Azure Log Analytics
---

> For the complete documentation index, see [llms.txt](https://docs.datadoghq.com/llms.txt).

# Azure Log Analytics
Integration version1.0.0
{% callout %}
# Important note for users on the following Datadog sites: us2.ddog-gov.com

{% alert level="info" %}
To find out if this integration is available in your organization, see your [Datadog Integrations](https://app.datadoghq.com/integrations) page or ask your organization administrator.

To initiate an exception request to enable this integration for your organization, email [support@ddog-gov.com](mailto:support@ddog-gov.com).
{% /alert %}

{% /callout %}

## Overview{% #overview %}

[Azure Log Analytics](https://learn.microsoft.com/azure/azure-monitor/logs/log-analytics-workspace-overview) workspaces store and query log and metric data from Azure services and from installed agents. This integration surfaces workspace data export metrics along with the host metrics that agents report into the workspace.

## Setup{% #setup %}

### Installation{% #installation %}

If you haven't already, set up the [Microsoft Azure integration](https://docs.datadoghq.com/integrations/azure.md) first. There are no other installation steps.

## Data Collected{% #data-collected %}

### Metrics{% #metrics %}

|  |
|  |
| **azure.operationalinsights_workspaces.count**(gauge)                                    | The count of Azure Log Analytics resources.                                                                                        |
| **azure.operationalinsights_workspaces.bytes_exported**(count)                          | Total number of bytes exported per the specified data export rule to the specified destination from this workspace.*Shown as byte* |
| **azure.operationalinsights_workspaces.export_failed**(count)                           | Total number of data exports failed per the specified data export rule to the specified destination from this workspace.           |
| **azure.operationalinsights_workspaces.records_exported**(count)                        | Total number of records exported per the specified data export rule to the specified destination from this workspace.              |
| **azure.operationalinsights_workspaces.average_available_memory**(gauge)               | Average percentage of available memory. Supported for: Linux.*Shown as percent*                                                    |
| **azure.operationalinsights_workspaces.average_available_swap_space**(gauge)          | Average percentage of available swap space. Supported for: Linux.*Shown as percent*                                                |
| **azure.operationalinsights_workspaces.average_committed_bytes_in_use**(gauge)       | Average committed memory as a percentage of the commit limit. Supported for: Windows.*Shown as percent*                            |
| **azure.operationalinsights_workspaces.average_dpc_time**(gauge)                       | Average percentage of processor time spent on deferred procedure calls (DPCs). Supported for: Linux, Windows.*Shown as percent*    |
| **azure.operationalinsights_workspaces.average_free_inodes**(gauge)                    | Average percentage of free inodes. Supported for: Linux.*Shown as percent*                                                         |
| **azure.operationalinsights_workspaces.average_free_space**(gauge)                     | Average percentage of free disk space. Supported for: Linux, Windows.*Shown as percent*                                            |
| **azure.operationalinsights_workspaces.average_idle_time**(gauge)                      | Average percentage of time the processor is idle. Supported for: Linux, Windows.*Shown as percent*                                 |
| **azure.operationalinsights_workspaces.average_interrupt_time**(gauge)                 | Average percentage of processor time spent servicing interrupts. Supported for: Linux, Windows.*Shown as percent*                  |
| **azure.operationalinsights_workspaces.average_io_wait_time**(gauge)                  | Average percentage of processor time spent waiting for I/O. Supported for: Linux.*Shown as percent*                                |
| **azure.operationalinsights_workspaces.average_nice_time**(gauge)                      | Average percentage of processor time spent on processes with lowered (nice) priority. Supported for: Linux.*Shown as percent*      |
| **azure.operationalinsights_workspaces.average_privileged_time**(gauge)                | Average percentage of processor time spent in privileged (kernel) mode. Supported for: Linux, Windows.*Shown as percent*           |
| **azure.operationalinsights_workspaces.average_processor_time**(gauge)                 | Average percentage of time the processor is busy. Supported for: Linux, Windows.*Shown as percent*                                 |
| **azure.operationalinsights_workspaces.average_used_inodes**(gauge)                    | Average percentage of used inodes. Supported for: Linux.*Shown as percent*                                                         |
| **azure.operationalinsights_workspaces.average_used_memory**(gauge)                    | Average percentage of used memory. Supported for: Linux.*Shown as percent*                                                         |
| **azure.operationalinsights_workspaces.average_used_space**(gauge)                     | Average percentage of used disk space. Supported for: Linux.*Shown as percent*                                                     |
| **azure.operationalinsights_workspaces.average_used_swap_space**(gauge)               | Average percentage of used swap space. Supported for: Linux.*Shown as percent*                                                     |
| **azure.operationalinsights_workspaces.average_user_time**(gauge)                      | Average percentage of processor time spent in user mode. Supported for: Linux, Windows.*Shown as percent*                          |
| **azure.operationalinsights_workspaces.average_available_m_bytes**(gauge)             | Average available physical memory. Supported for: Windows.                                                                         |
| **azure.operationalinsights_workspaces.average_available_m_bytes_memory**(gauge)     | Average available memory. Supported for: Linux.                                                                                    |
| **azure.operationalinsights_workspaces.average_available_m_bytes_swap**(gauge)       | Average available swap space. Supported for: Linux.                                                                                |
| **azure.operationalinsights_workspaces.average_avg.disk_sec_read**(gauge)             | Average time per disk read. Supported for: Linux, Windows.                                                                         |
| **azure.operationalinsights_workspaces.average_avg.disk_sec_transfer**(gauge)         | Average time per disk transfer (read or write). Supported for: Linux, Windows.                                                     |
| **azure.operationalinsights_workspaces.average_avg.disk_sec_write**(gauge)            | Average time per disk write. Supported for: Linux, Windows.                                                                        |
| **azure.operationalinsights_workspaces.average_bytes_received_sec**(gauge)            | Average rate of bytes received over the network. Supported for: Windows.                                                           |
| **azure.operationalinsights_workspaces.average_bytes_sent_sec**(gauge)                | Average rate of bytes sent over the network. Supported for: Windows.                                                               |
| **azure.operationalinsights_workspaces.average_bytes_total_sec**(gauge)               | Average rate of bytes sent and received over the network. Supported for: Windows.                                                  |
| **azure.operationalinsights_workspaces.average_current_disk_queue_length**(gauge)    | Average number of outstanding disk requests. Supported for: Windows.                                                               |
| **azure.operationalinsights_workspaces.average_disk_read_bytes_sec**(gauge)          | Average rate of bytes read from disk. Supported for: Linux, Windows.                                                               |
| **azure.operationalinsights_workspaces.average_disk_reads_sec**(gauge)                | Average rate of disk reads. Supported for: Linux, Windows.                                                                         |
| **azure.operationalinsights_workspaces.average_disk_transfers_sec**(gauge)            | Average rate of disk transfers (reads and writes). Supported for: Linux, Windows.                                                  |
| **azure.operationalinsights_workspaces.average_disk_write_bytes_sec**(gauge)         | Average rate of bytes written to disk. Supported for: Linux, Windows.                                                              |
| **azure.operationalinsights_workspaces.average_disk_writes_sec**(gauge)               | Average rate of disk writes. Supported for: Linux, Windows.                                                                        |
| **azure.operationalinsights_workspaces.average_free_megabytes**(gauge)                 | Average free disk space. Supported for: Linux, Windows.                                                                            |
| **azure.operationalinsights_workspaces.average_free_physical_memory**(gauge)          | Average free physical memory. Supported for: Linux.                                                                                |
| **azure.operationalinsights_workspaces.average_free_space_in_paging_files**(gauge)  | Average free space in paging files. Supported for: Linux.                                                                          |
| **azure.operationalinsights_workspaces.average_free_virtual_memory**(gauge)           | Average free virtual memory. Supported for: Linux.                                                                                 |
| **azure.operationalinsights_workspaces.average_logical_disk_bytes_sec**(gauge)       | Average rate of bytes read from and written to logical disks. Supported for: Linux.                                                |
| **azure.operationalinsights_workspaces.average_page_reads_sec**(gauge)                | Average rate of page reads from disk. Supported for: Linux, Windows.                                                               |
| **azure.operationalinsights_workspaces.average_page_writes_sec**(gauge)               | Average rate of page writes to disk. Supported for: Linux, Windows.                                                                |
| **azure.operationalinsights_workspaces.average_pages_sec**(gauge)                      | Average rate of pages read from or written to disk. Supported for: Linux, Windows.                                                 |
| **azure.operationalinsights_workspaces.average_pct_privileged_time**(gauge)           | Average percentage of processor time a process spends in privileged (kernel) mode. Supported for: Linux.*Shown as percent*         |
| **azure.operationalinsights_workspaces.average_pct_user_time**(gauge)                 | Average percentage of processor time a process spends in user mode. Supported for: Linux.*Shown as percent*                        |
| **azure.operationalinsights_workspaces.average_physical_disk_bytes_sec**(gauge)      | Average rate of bytes read from and written to physical disks. Supported for: Linux.                                               |
| **azure.operationalinsights_workspaces.average_processes**(gauge)                       | Average number of processes. Supported for: Linux, Windows.                                                                        |
| **azure.operationalinsights_workspaces.average_processor_queue_length**(gauge)        | Average number of threads waiting in the processor queue. Supported for: Windows.                                                  |
| **azure.operationalinsights_workspaces.average_size_stored_in_paging_files**(gauge) | Average amount of data stored in paging files. Supported for: Linux.                                                               |
| **azure.operationalinsights_workspaces.average_total_bytes**(gauge)                    | Average total bytes sent and received over the network. Supported for: Linux.                                                      |
| **azure.operationalinsights_workspaces.average_total_bytes_received**(gauge)          | Average total bytes received over the network. Supported for: Linux.                                                               |
| **azure.operationalinsights_workspaces.average_total_bytes_transmitted**(gauge)       | Average total bytes sent over the network. Supported for: Linux.                                                                   |
| **azure.operationalinsights_workspaces.average_total_collisions**(gauge)               | Average total network collisions. Supported for: Linux.                                                                            |
| **azure.operationalinsights_workspaces.average_total_packets_received**(gauge)        | Average total packets received over the network. Supported for: Linux.*Shown as packet*                                            |
| **azure.operationalinsights_workspaces.average_total_packets_transmitted**(gauge)     | Average total packets sent over the network. Supported for: Linux.*Shown as packet*                                                |
| **azure.operationalinsights_workspaces.average_total_rx_errors**(gauge)               | Average total network receive errors. Supported for: Linux.                                                                        |
| **azure.operationalinsights_workspaces.average_total_tx_errors**(gauge)               | Average total network transmit errors. Supported for: Linux.                                                                       |
| **azure.operationalinsights_workspaces.average_uptime**(gauge)                          | Average system uptime. Supported for: Linux.                                                                                       |
| **azure.operationalinsights_workspaces.average_used_m_bytes_swap_space**(gauge)     | Average used swap space. Supported for: Linux.*Shown as mebibyte*                                                                  |
| **azure.operationalinsights_workspaces.average_used_memory_k_bytes**(gauge)          | Average memory used by a process. Supported for: Linux.                                                                            |
| **azure.operationalinsights_workspaces.average_used_memory_m_bytes**(gauge)          | Average used memory. Supported for: Linux.                                                                                         |
| **azure.operationalinsights_workspaces.average_users**(gauge)                           | Average number of users. Supported for: Linux.                                                                                     |
| **azure.operationalinsights_workspaces.average_virtual_shared_memory**(gauge)         | Average virtual shared memory used by a process. Supported for: Linux.                                                             |
| **azure.operationalinsights_workspaces.event**(gauge)                                    | Number of Windows event log records in the workspace. Supported for: Windows.                                                      |
| **azure.operationalinsights_workspaces.heartbeat**(count)                                | Number of agent heartbeat records in the workspace. Supported for: Linux, Windows.                                                 |
| **azure.operationalinsights_workspaces.update**(gauge)                                   | Number of Update Management records in the workspace. Supported for: Windows.                                                      |
| **azure.operationalinsights_workspaces.availability_rate_query**(gauge)                | User query success rate for this workspace.*Shown as percent*                                                                      |
| **azure.operationalinsights_workspaces.ingestion_time**(gauge)                          | Time, in seconds, between when Azure Monitor Logs receives a record and when the record is available for queries.*Shown as second* |
| **azure.operationalinsights_workspaces.ingestion_volume**(count)                        | Number of records ingested into a workspace or a table.                                                                            |
| **azure.operationalinsights_workspaces.query_count**(count)                             | Total number of user queries for this workspace.                                                                                   |
| **azure.operationalinsights_workspaces.query_failure_count**(count)                    | Total number of failed user queries for this workspace.                                                                            |

### Service Checks{% #service-checks %}

Azure Log Analytics does not include any service checks.

### Events{% #events %}

Azure Log Analytics does not include any events.

## Troubleshooting{% #troubleshooting %}

Need help? Contact [Datadog support](https://docs.datadoghq.com/help/).
