Skip to content

Commit 1458d4f

Browse files
authored
Merge pull request #90704 from bwren/am-cost-storage
Azure Monitor cost storage update
2 parents 6267f34 + d9bc0b1 commit 1458d4f

File tree

1 file changed

+7
-3
lines changed

1 file changed

+7
-3
lines changed

articles/azure-monitor/platform/manage-cost-storage.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -144,7 +144,7 @@ To get the current per data type retention settings for all data types in your w
144144
GET /subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/MyResourceGroupName/providers/Microsoft.OperationalInsights/workspaces/MyWorkspaceName/Tables?api-version=2017-04-26-preview
145145
```
146146

147-
To set the retention of a particular data type (in this example SecurityEvent) to 730 day, do
147+
To set the retention of a particular data type (in this example SecurityEvent) to 730 days, do
148148

149149
```JSON
150150
PUT /subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/MyResourceGroupName/providers/Microsoft.OperationalInsights/workspaces/MyWorkspaceName/Tables/SecurityEvent?api-version=2017-04-26-preview
@@ -158,7 +158,11 @@ To set the retention of a particular data type (in this example SecurityEvent) t
158158

159159
The `Usage` and `AzureActivity` data types cannot be set with custom retention. They will take on the maximum of the default workspace retention or 90 days.
160160

161-
A great tool to connect directly to ARM to set retention by data type is the OSS tool [ARMclient](https://github.com/projectkudu/ARMClient). Learn more about ARMclient from articles by [David Ebbo](http://blog.davidebbo.com/2015/01/azure-resource-manager-client.html) and [Daniel Bowbyes](https://blog.bowbyes.co.nz/2016/11/02/using-armclient-to-directly-access-azure-arm-rest-apis-and-list-arm-policy-details/).
161+
A great tool to connect directly to ARM to set retention by data type is the OSS tool [ARMclient](https://github.com/projectkudu/ARMClient). Learn more about ARMclient from articles by [David Ebbo](http://blog.davidebbo.com/2015/01/azure-resource-manager-client.html) and [Daniel Bowbyes](https://blog.bowbyes.co.nz/2016/11/02/using-armclient-to-directly-access-azure-arm-rest-apis-and-list-arm-policy-details/). Here's an exmaple using ARMClient, setting SecurityEvent data to a 730 day retention:
162+
163+
```
164+
armclient PUT /subscriptions/00000000-0000-0000-0000-00000000000/resourceGroups/MyResourceGroupName/providers/Microsoft.OperationalInsights/workspaces/MyWorkspaceName/Tables/SecurityEvent?api-version=2017-04-26-preview "{properties: {retentionInDays: 730}}"
165+
```
162166

163167
> [!NOTE]
164168
> Setting retention on individual data types can be used to reduce your costs for data retention. For data collected starting in October 2019 (when this feature was released), reducing the retention for some data types can reduce your retention cost over time. For data collected earlier, setting a lower retention for an individual type will not affect your retention costs.
@@ -489,4 +493,4 @@ There are some additional Log Analytics limits, some of which depend on the Log
489493
- To configure an effective event collection policy, review [Azure Security Center filtering policy](../../security-center/security-center-enable-data-collection.md).
490494
- Change [performance counter configuration](data-sources-performance-counters.md).
491495
- To modify your event collection settings, review [event log configuration](data-sources-windows-events.md).
492-
- To modify your syslog collection settings, review [syslog configuration](data-sources-syslog.md).
496+
- To modify your syslog collection settings, review [syslog configuration](data-sources-syslog.md).

0 commit comments

Comments
 (0)