log

Log Analytics Workspace

ManagementAzure
General

General information about the service.

Description

Centralized logging and analytics.

Namespace and Entity

Microsoft.OperationalInsights/workspaces

Chat

Powered by AI

Talk to this service to learn more about it.

Suggested questions:

Naming

The conventions, rules, and restrictions for naming this service.

Naming Convention

log-

Length

4-63

Valid Characters

Alphanumerics, hyphens, underscores.

Scope

resource group

Code

Deploy your infrastructure as code using your preferred tooling.

Official DocumentationTerraform
terraform
1resource "azurerm_log_analytics_workspace" "main" {
2 name = "log-${var.project}-${var.environment}"
3 location = azurerm_resource_group.main.location
4 resource_group_name = azurerm_resource_group.main.name
5 sku = "PerGB2018"
6 retention_in_days = 30
7
8 daily_quota_gb = 5
9
10 tags = var.tags
11}
Utilities

Utilities to support app deployment or configuration.