Log Analytics Workspace
Deploys a Log Analytics workspace for centralized monitoring and diagnostics.
Summary
Central log aggregation point for Azure resource diagnostics, activity logs, and custom telemetry.
| Property |
Value |
| Owner |
platform-team |
| Support |
Support |
| Version |
1.2.0 |
Resource Types
| Resource Type |
Microsoft.Insights/diagnosticSettings |
Microsoft.OperationalInsights/workspaces |
Usage
module workspace 'br:geitbicepmodweucr01.azurecr.io/bicep/modules/operational-insights/workspace:1.2.0' = {
name: 'workspace'
params: {
// Required parameters
par_workspace_name: <string>
}
}
Parameters
| Name |
Type |
Description |
Default |
par_daily_quota_gb |
int |
Daily ingestion quota in GB. Set to -1 for no quota (default). |
-1 |
par_diagnostic_settings |
array |
Optional. Diagnostic settings to attach to the workspace. Each entry targets a Log Analytics workspace and enables at least one log or metric category; entries with neither are skipped (an empty diagnosticSettings is rejected by ARM). |
`` |
par_location |
string |
Azure region for the workspace. Defaults to the resource group location. |
[resourceGroup().location] |
par_public_network_access_for_ingestion |
string |
Public network access for data ingestion. Disabled by default per WAF Security pillar - enable only when the workspace must accept data from public networks. |
Disabled |
par_public_network_access_for_query |
string |
Public network access for queries. Disabled by default per WAF Security pillar - enable only when queries must be issued from public networks. |
Disabled |
par_retention_in_days |
int |
Number of days to retain data in the workspace. |
30 |
par_sku |
string |
SKU tier for the workspace. PerGB2018 is the recommended default. |
PerGB2018 |
par_tags |
object |
Resource tags applied to the workspace. |
`` |
par_workspace_name |
string |
Name of the Log Analytics workspace. |
required |
Outputs
| Name |
Type |
Description |
out_workspace_customer_id |
string |
Workspace GUID (customer ID) used for data collection configuration. |
out_workspace_id |
string |
Resource ID of the Log Analytics workspace. |
out_workspace_name |
string |
Name of the Log Analytics workspace. |
Versions
Pin an exact version. Ranges are not supported.
| Version |
Reference |
1.2.0 (latest) |
br/Euvic-Modules:operational-insights/workspace:1.2.0 |