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
Copy file name to clipboardExpand all lines: articles/azure-monitor/logs/manage-logs-tables.md
+8-2Lines changed: 8 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,8 +35,8 @@ Your Log Analytics workspace can contain the following types of tables:
35
35
### Log data plan
36
36
37
37
[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.
39
38
- 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.
40
40
41
41
### Retention and archive
42
42
@@ -70,7 +70,7 @@ To view and set table properties in the Azure portal:
70
70
71
71
# [API](#tab/api)
72
72
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):
74
74
75
75
```http
76
76
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
111
111
}
112
112
```
113
113
114
+
To set table properties, call the [Tables - Create Or Update API](/rest/api/loganalytics/tables/create-or-update).
115
+
114
116
# [Azure CLI](#tab/azure-cli)
115
117
116
118
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:
121
123
az monitor log-analytics workspace table show --subscription ContosoSID --resource-group ContosoRG --workspace-name ContosoWorkspace --name Syslog --output table
122
124
```
123
125
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.
Use the [Update-AzOperationalInsightsTable](/powershell/module/az.operationalinsights/Update-AzOperationalInsightsTable?view=azps-9.1.0) cmdlet to set table properties.
0 commit comments