Skip to content

Commit 43d8110

Browse files
authored
Update data-retention-archive.md
I believe the limits in the current version of docs are wrong. Total retention cannot be set to 2,555 days, because it's failing with "The specified total retention value is invalid. The value beyond two years is restricted to full years. Allowed values are: [4-730], 1095, 1460, 1826, 2191, 2556 days.". And this value range applies to totalRetentionInDays, not to retentionInDays (as it is contradictory to "You can keep data in interactive retention between 4 and 730 days." stated above)
1 parent fd44b71 commit 43d8110

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

articles/azure-monitor/logs/data-retention-archive.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ To set the default workspace retention policy:
3939

4040
By default, all tables in your workspace inherit the workspace's interactive retention setting and have no archive policy. You can modify the retention and archive policies of individual tables, except for workspaces in the legacy Free Trial pricing tier.
4141

42-
You can keep data in interactive retention between 4 and 730 days. You can set the archive period for a total retention time of up to 2,555 days (seven years).
42+
You can keep data in interactive retention between 4 and 730 days. You can set the archive period for a total retention time of up to 2,556 days (seven years).
4343

4444
# [Portal](#tab/portal-1)
4545

@@ -80,8 +80,8 @@ The request body includes the values in the following table.
8080

8181
|Name | Type | Description |
8282
| --- | --- | --- |
83-
|properties.retentionInDays | integer | The table's data retention in days. This value can be between 4 and 730; or 1095, 1460, 1826, 2191, or 2556. <br/>Setting this property to null will default to the workspace retention. For a Basic Logs table, the value is always 8. |
84-
|properties.totalRetentionInDays | integer | The table's total data retention including archive period. Set this property to null if you don't want to archive data. |
83+
|properties.retentionInDays | integer | The table's data retention in days. This value can be between 4 and 730. <br/>Setting this property to null will default to the workspace retention. For a Basic Logs table, the value is always 8. |
84+
|properties.totalRetentionInDays | integer | The table's total data retention including archive period. This value can be between 4 and 730; or 1095, 1460, 1826, 2191, or 2556. Set this property to null if you don't want to archive data. |
8585

8686
**Example**
8787

@@ -226,4 +226,4 @@ The retention can also be [set programatically using PowerShell](../app/powershe
226226
## Next steps
227227
- [Learn more about Log Analytics workspaces and data retention and archive.](log-analytics-workspace-overview.md)
228228
- [Create a search job to retrieve archive data matching particular criteria.](search-jobs.md)
229-
- [Restore archive data within a particular time range.](restore.md)
229+
- [Restore archive data within a particular time range.](restore.md)

0 commit comments

Comments
 (0)