Skip to content

Commit 963de1e

Browse files
Merge pull request #249740 from v-jbasden/v-jbasden-logs-content-inventory-line-69
Authoring guidance on prerequisites and permissions required to create and manage a dedicated cluster
2 parents 8eca711 + 55b0a58 commit 963de1e

File tree

1 file changed

+65
-7
lines changed

1 file changed

+65
-7
lines changed

articles/azure-monitor/logs/logs-dedicated-clusters.md

Lines changed: 65 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ ms.custom: devx-track-azurepowershell, devx-track-azurecli
99

1010
# Create and manage a dedicated cluster in Azure Monitor Logs
1111

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.
1313

1414
## Advanced capabilities
1515
Capabilities that require dedicated clusters:
@@ -26,16 +26,27 @@ eligible for commitment tier discount.
2626
## Cluster pricing model
2727
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.
2828

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+
2935
## Required permissions
3036

3137
To perform cluster-related actions, you need these permissions:
3238

3339
| Action | Permissions or role needed |
3440
|-|-|
35-
| Create a dedicate cluster |`Microsoft.Resources/deployments/*`and `Microsoft.OperationalInsights/clusters/write`|
36-
| Change cluster properties |`Microsoft.OperationalInsights/clusters/write`|
37-
| 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 |
3950

4051
For more information on Log Analytics permissions, see [Manage access to log data and workspaces in Azure Monitor](./manage-access.md).
4152

@@ -82,6 +93,10 @@ Deleted clusters take two weeks to be completely removed. You can have up to sev
8293
> - A list of initial workspace to be linked to cluster is identified
8394
> - You have permissions to subscription intended for the cluster and any workspace to be linked
8495

96+
#### [Portal](#tab/azure-portal)
97+
98+
N/A
99+
85100
#### [CLI](#tab/cli)
86101

87102
```azurecli
@@ -139,6 +154,10 @@ Should be 202 (Accepted) and a header.
139154

140155
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.
141156

157+
#### [Portal](#tab/azure-portal)
158+
159+
N/A
160+
142161
#### [CLI](#tab/cli)
143162

144163
```azurecli
@@ -224,6 +243,10 @@ The workspace and the cluster can be in different subscriptions. It's possible f
224243

225244
Use the following steps to link a workspace to a cluster. You can automated for linking multiple workspaces:
226245

246+
#### [Portal](#tab/azure-portal)
247+
248+
N/A
249+
227250
#### [CLI](#tab/cli)
228251

229252
> [!NOTE]
@@ -292,6 +315,11 @@ Content-type: application/json
292315

293316
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*.
294317

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+
295323
#### [CLI](#tab/cli)
296324

297325
```azurecli
@@ -371,6 +399,10 @@ After you create your cluster resource and it's fully provisioned, you can edit
371399
372400
## Get all clusters in resource group
373401

402+
#### [Portal](#tab/azure-portal)
403+
404+
N/A
405+
374406
#### [CLI](#tab/cli)
375407

376408
```azurecli
@@ -439,6 +471,10 @@ Authorization: Bearer <token>
439471

440472
## Get all clusters in subscription
441473

474+
#### [Portal](#tab/azure-portal)
475+
476+
N/A
477+
442478
#### [CLI](#tab/cli)
443479

444480
```azurecli
@@ -476,6 +512,10 @@ When the data volume to linked workspaces changes over time, you can update the
476512

477513
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.
478514

515+
#### [Portal](#tab/azure-portal)
516+
517+
N/A
518+
479519
#### [CLI](#tab/cli)
480520

481521
```azurecli
@@ -518,10 +558,18 @@ The *billingType* property determines the billing attribution for the cluster an
518558
- *Cluster* (default) -- billing is attributed to the Cluster resource
519559
- *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
520560

521-
#### [CLI](#tab/cli)
561+
#### [Portal](#tab/azure-portal)
522562

523563
N/A
524564

565+
#### [CLI](#tab/cli)
566+
567+
```azurecli
568+
az account set --subscription "cluster-subscription-id"
569+
570+
az monitor log-analytics cluster update --resource-group "resource-group-name" --name "cluster-name" --billing-type {Cluster, Workspaces}
571+
```
572+
525573
#### [PowerShell](#tab/powershell)
526574

527575
```powershell
@@ -564,6 +612,10 @@ Queries aren't affected when workspace is unlinked and service performs cross-cl
564612
565613
Use the following commands to unlink a workspace from cluster:
566614

615+
#### [Portal](#tab/azure-portal)
616+
617+
N/A
618+
567619
#### [CLI](#tab/cli)
568620

569621
```azurecli
@@ -583,7 +635,9 @@ Remove-AzOperationalInsightsLinkedService -ResourceGroupName "resource-group-nam
583635

584636
#### [REST API](#tab/restapi)
585637

586-
N/A
638+
```rest
639+
DELETE https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/linkedServices/{linkedServiceName}?api-version=2020-08-01
640+
```
587641

588642
---
589643

@@ -604,6 +658,10 @@ If you delete a cluster that has linked workspaces, workspaces get automatically
604658
605659
Use the following commands to delete a cluster:
606660

661+
#### [Portal](#tab/azure-portal)
662+
663+
N/A
664+
607665
#### [CLI](#tab/cli)
608666

609667
```azurecli

0 commit comments

Comments
 (0)