Log Analytics
Workspaces
Microsoft.OperationalInsights/workspaces
- Control plane
- Supported
- Data plane
- Partial
- API versions
- 8 6 stable
- Ships in
- Plugin Microsoft.OperationalInsights 2026.11
- Plan
- Starter and above
Data as of 2026-11-20
API versions
The API versions Locally supports for Microsoft.OperationalInsights/workspaces.
| API version | Status | Control plane | Data plane |
|---|---|---|---|
| 2025-07-01 | stable | Supported | Partial |
| 2025-02-01 | stable | Supported | Partial |
| 2023-09-01 | stable | Supported | Partial |
| 2022-10-01 | stable | Supported | Partial |
| 2021-12-01-preview | preview | Supported | Partial |
| 2021-06-01 | stable | Supported | Partial |
| 2020-08-01 | stable | Supported | Partial |
| 2015-11-01-preview | preview | Supported | Partial |
Note: This is generated from the latest version of the plugin (2026.11) as of 2026-11-20, and may differ in older versions. We aim to keep this information accurate and up to date; if you find something we're missing, then please let us know.
Nested resource types
The resource types nested under Microsoft.OperationalInsights/workspaces. Click one to see more information.
Features
- Log Analytics query API, with
az monitor log-analytics queryand the Azure Monitor Query SDKs. - KQL, including
summarize,join,parse,make-series,mv-expandand user-defined functions. - Batch, cross-workspace and resource-centric queries
- Table metadata: a new workspace lists the tables it can be queried for, and an empty table returns its columns.
- HTTP Data Collector API, signed with the workspace's primary or secondary shared key.
- Logs Ingestion API and OTLP logs and traces, as a destination of a data collection rule.
- Diagnostic settings destination for the Activity Log, Web Apps and Function Apps.
- Workspace-based Application Insights: a linked component's telemetry lands in the
App*tables. - Access control: queries are authorised per workspace, and
enableLogAccessUsingOnlyResourcePermissionsis honoured for resource-centric queries. - Retention:
retentionInDaysis applied, with 30 days when it isn't set. - Chaos Engineering on ingestion and queries. Team
Limitations
Workspaces
- Diagnostic settings on other resources, such as Storage or Key Vault, don't send anything yet. Only the Activity Log, Web Apps and Function Apps send logs this way.
- Every workspace lists all of the standard tables (around 950) at this time, not just the ones its data sources fill.
- OTLP metrics aren't accepted at this time, only OTLP logs and traces.
- The machine learning operators (
autocluster,basket,diffpatterns) and anomaly detection functions aren't supported at this time, andrenderhas no effect. - There's no Azure Monitor Agent, so tables like
Heartbeat,Syslog,PerfandContainerLogsstay empty.
Data Exports
- A data export rule can be created, but nothing is exported at this time.
Summary Logs
- A summary rule can be created, but it doesn't run at this time.
Tables
- Search jobs can be created, but don't do anything at this time.
- The archive tier isn't emulated. A row past its interactive retention is deleted, whatever
totalRetentionInDayssays.
Examples
Runnable examples from the examples library.
Deploy a Log Analytics Workspace to Locally using an ARM Template
Provisions a Log Analytics Workspace, into a Resource Group of your choosing.
Deploy a Log Analytics Workspace to Locally using a Bicep Template
Provisions a Log Analytics Workspace, into a Resource Group of your choosing.
Deploy a Log Analytics Workspace to Locally using Terraform and the Azure/azapi provider
Provisions a Resource Group containing a Log Analytics Workspace.
Deploy a Log Analytics Workspace to Locally using Terraform and the hashicorp/azurerm provider
Provisions a Resource Group containing a Log Analytics Workspace.
Deploy a Log Analytics Workspace to Locally using OpenTofu and the Azure/azapi provider
Provisions a Resource Group containing a Log Analytics Workspace.
Deploy a Log Analytics Workspace to Locally using OpenTofu and the opentofu/azurerm provider
Provisions a Resource Group containing a Log Analytics Workspace.