You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
# Create and manage a dedicated cluster in Azure Monitor Logs
11
11
12
-
Linking a Log Analytics workspace to a dedicated cluster in Azure Monitor provides advanced capabilities and higher query utilization. Clusters require a minimum ingestion commitment of 500 GB per day. You can link and unlink workspaces from a dedicated cluster without any data loss or service interruption.
12
+
Linking a Log Analytics workspace to a dedicated cluster in Azure Monitor provides advanced capabilities and higher query utilization. You can link and unlink workspaces from a dedicated cluster without any data loss or service interruption.
13
13
14
14
## Advanced capabilities
15
15
Capabilities that require dedicated clusters:
@@ -26,16 +26,27 @@ eligible for commitment tier discount.
26
26
## Cluster pricing model
27
27
Log Analytics Dedicated Clusters use a commitment tier pricing model of at least 500 GB/day. Any usage above the tier level incurs charges based on the per-GB rate of that commitment tier. See [Azure Monitor Logs pricing details](cost-logs.md#dedicated-clusters) for pricing details for dedicated clusters. The commitment tiers have a 31-day commitment period from the time a commitment tier is selected.
28
28
29
+
## Prerequisites
30
+
31
+
- Dedicated clusters require a minimum ingestion commitment of 500 GB per day.
32
+
- To link a workspace to a dedicated cluster, you need a workspace that isn't linked to any clusters.
33
+
- When creating a dedicated cluster, you can't name it with the same name as a cluster that was deleted within the past two weeks.
34
+
29
35
## Required permissions
30
36
31
37
To perform cluster-related actions, you need these permissions:
32
38
33
39
| Action | Permissions or role needed |
34
40
|-|-|
35
-
| Create a dedicate cluster |`Microsoft.Resources/deployments/*`and `Microsoft.OperationalInsights/clusters/write`|
| Link workspaces to a cluster |`Microsoft.OperationalInsights/clusters/write` and `Microsoft.OperationalInsights/workspaces/write`|
38
-
| Grant the required permissions | Owner or Contributor role that has `*/write` permissions, or a Log Analytics Contributor role that has `Microsoft.OperationalInsights/*` permissions.|
41
+
| Create a dedicated cluster |`Microsoft.Resources/deployments/*`and `Microsoft.OperationalInsights/clusters/write` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example |
42
+
| Change cluster properties |`Microsoft.OperationalInsights/clusters/write` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example |
43
+
| Link workspaces to a cluster |`Microsoft.OperationalInsights/clusters/write` and `Microsoft.OperationalInsights/workspaces/write` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example |
44
+
| Check workspace link status |`Microsoft.OperationalInsights/workspaces/read` permissions to the workspace, as provided by the [Log Analytics Reader built-in role](./manage-access.md#log-analytics-reader), for example |
45
+
| Get clusters or check a cluster's provisioning status |`Microsoft.OperationalInsights/clusters/read` permissions, as provided by the [Log Analytics Reader built-in role](./manage-access.md#log-analytics-reader), for example |
46
+
| Update commitment tier or billingType in a cluster |`Microsoft.OperationalInsights/clusters/write` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example |
47
+
| Grant the required permissions | Owner or Contributor role that has `*/write` permissions, or the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), which has `Microsoft.OperationalInsights/*` permissions |
48
+
| Unlink a workspace from cluster |`Microsoft.OperationalInsights/workspaces/linkedServices/delete` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example |
49
+
| Delete a dedicated cluster |`Microsoft.OperationalInsights/clusters/delete` permissions, as provided by the [Log Analytics Contributor built-in role](./manage-access.md#log-analytics-contributor), for example |
39
50
40
51
For more information on Log Analytics permissions, see [Manage access to log data and workspaces in Azure Monitor](./manage-access.md).
41
52
@@ -82,6 +93,10 @@ Deleted clusters take two weeks to be completely removed. You can have up to sev
82
93
> - A list of initial workspace to be linked to cluster is identified
83
94
> - You have permissions to subscription intended for the cluster and any workspace to be linked
84
95
96
+
#### [Portal](#tab/azure-portal)
97
+
98
+
N/A
99
+
85
100
#### [CLI](#tab/cli)
86
101
87
102
```azurecli
@@ -139,6 +154,10 @@ Should be 202 (Accepted) and a header.
139
154
140
155
The provisioning of the Log Analytics cluster takes a while to complete. Use one of the following methods to check the *ProvisioningState* property. The value is *ProvisioningAccount* while provisioning and *Succeeded* when completed.
141
156
157
+
#### [Portal](#tab/azure-portal)
158
+
159
+
N/A
160
+
142
161
#### [CLI](#tab/cli)
143
162
144
163
```azurecli
@@ -224,6 +243,10 @@ The workspace and the cluster can be in different subscriptions. It's possible f
224
243
225
244
Use the following steps to link a workspace to a cluster. You can automated for linking multiple workspaces:
When a cluster is configured with customer-managed keys, data ingested to the workspaces after the link operation completion is stored encrypted with your managed key. The workspace link operation can take up to 90 minutes to complete and you can check the state by sending Get request to workspace and observe if *clusterResourceId* property is present in the response under *features*.
294
317
318
+
#### [Portal](#tab/azure-portal)
319
+
320
+
1. Open the **Log Analytics workspaces** menu and then select your workspace.
321
+
1. On the **Overview** page, select **JSON View**.
322
+
295
323
#### [CLI](#tab/cli)
296
324
297
325
```azurecli
@@ -371,6 +399,10 @@ After you create your cluster resource and it's fully provisioned, you can edit
@@ -476,6 +512,10 @@ When the data volume to linked workspaces changes over time, you can update the
476
512
477
513
During the commitment period, you can change to a higher commitment tier, which restarts the 31-day commitment period. You can't move back to pay-as-you-go or to a lower commitment tier until after you finish the commitment period.
478
514
515
+
#### [Portal](#tab/azure-portal)
516
+
517
+
N/A
518
+
479
519
#### [CLI](#tab/cli)
480
520
481
521
```azurecli
@@ -518,10 +558,18 @@ The *billingType* property determines the billing attribution for the cluster an
518
558
-*Cluster* (default) -- billing is attributed to the Cluster resource
519
559
-*Workspaces* -- billing is attributed to linked workspaces proportionally. When data volume from all linked workspaces is below Commitment Tier level, the bill for the remaining volume is attributed to the cluster
520
560
521
-
#### [CLI](#tab/cli)
561
+
#### [Portal](#tab/azure-portal)
522
562
523
563
N/A
524
564
565
+
#### [CLI](#tab/cli)
566
+
567
+
```azurecli
568
+
az account set --subscription "cluster-subscription-id"
0 commit comments