Skip to content

Commit 7e6bcac

Browse files
committed
updating based on Adi's feedback
1 parent 42fddd2 commit 7e6bcac

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

articles/azure-monitor/logs/basic-logs-configure.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ To configure a table for Basic logs or Analytics logs in the Azure portal:
9393

9494
# [API](#tab/api-1)
9595

96-
To configure a table for Basic logs or Analytics logs, call the **Tables - Update** API:
96+
To configure a table for Basic logs or Analytics logs, call the [Tables - Update API](/rest/api/loganalytics/tables/create-or-update):
9797

9898
```http
9999
PATCH https://management.azure.com/subscriptions/<subscriptionId>/resourcegroups/<resourceGroupName>/providers/Microsoft.OperationalInsights/workspaces/<workspaceName>/tables/<tableName>?api-version=2021-12-01-preview

articles/azure-monitor/logs/manage-logs-tables.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -35,8 +35,8 @@ Your Log Analytics workspace can contain the following types of tables:
3535
### Log data plan
3636

3737
[Configure a table's log data plan](../logs/basic-logs-configure.md) based on how often you access the data in the table:
38-
- The **Basic** log data plan provides a low-cost way to ingest and retain logs for troubleshooting, debugging, auditing, and compliance.
3938
- The **Analytics** plan makes log data available for interactive queries and use by features and services.
39+
- The **Basic** log data plan provides a low-cost way to ingest and retain logs for troubleshooting, debugging, auditing, and compliance.
4040

4141
### Retention and archive
4242

@@ -70,7 +70,7 @@ To view and set table properties in the Azure portal:
7070

7171
# [API](#tab/api)
7272

73-
To view table properties, call the **Tables - Get** API:
73+
To view table properties, call the [Tables - Get API](/rest/api/loganalytics/tables/get):
7474

7575
```http
7676
GET https://management.azure.com/subscriptions/{subscriptionId}/resourcegroups/{resourceGroupName}/providers/Microsoft.OperationalInsights/workspaces/{workspaceName}/tables/{tableName}?api-version=2021-12-01-preview
@@ -111,6 +111,8 @@ Status code: 200
111111
}
112112
```
113113

114+
To set table properties, call the [Tables - Create Or Update API](/rest/api/loganalytics/tables/create-or-update).
115+
114116
# [Azure CLI](#tab/azure-cli)
115117

116118
To view table properties using Azure CLI, run the [az monitor log-analytics workspace table show](/cli/azure/monitor/log-analytics/workspace/table#az-monitor-log-analytics-workspace-table-show) command.
@@ -121,6 +123,8 @@ For example:
121123
az monitor log-analytics workspace table show --subscription ContosoSID --resource-group ContosoRG --workspace-name ContosoWorkspace --name Syslog --output table
122124
```
123125

126+
To set table properties using Azure CLI, run the [az monitor log-analytics workspace table update](/cli/azure/monitor/log-analytics/workspace/table#az-monitor-log-analytics-workspace-table-update) command.
127+
124128
# [PowerShell](#tab/azure-powershell)
125129

126130
To view table properties using PowerShell, run:
@@ -190,6 +194,8 @@ Invoke-AzRestMethod -Path "/subscriptions/ContosoSID/resourcegroups/ContosoRG/pr
190194
}
191195
```
192196

197+
Use the [Update-AzOperationalInsightsTable](/powershell/module/az.operationalinsights/Update-AzOperationalInsightsTable?view=azps-9.1.0) cmdlet to set table properties.
198+
193199
---
194200

195201
## Next steps

0 commit comments

Comments
 (0)