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
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)
Copy file name to clipboardExpand all lines: articles/azure-monitor/logs/data-retention-archive.md
+4-4Lines changed: 4 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -39,7 +39,7 @@ To set the default workspace retention policy:
39
39
40
40
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.
41
41
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).
43
43
44
44
# [Portal](#tab/portal-1)
45
45
@@ -80,8 +80,8 @@ The request body includes the values in the following table.
80
80
81
81
|Name | Type | Description |
82
82
| --- | --- | --- |
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. |
85
85
86
86
**Example**
87
87
@@ -226,4 +226,4 @@ The retention can also be [set programatically using PowerShell](../app/powershe
226
226
## Next steps
227
227
-[Learn more about Log Analytics workspaces and data retention and archive.](log-analytics-workspace-overview.md)
228
228
-[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