Policy: Azure > Log Analytics > Log Analytics Workspace > Data Retention > Days
Configure the Azure Log Analytics Workspace data retention. The retention days varies from 30 to 730 days where 30 is the default value.
Resource Types
This policy targets the following resource types:
Primary Policy
This policy is used with the following primary policy:
Controls
Policy Specification
Schema Type |
|
---|---|
Default |
|
Category
In Your Workspace
Developers
- tmod:@turbot/turbot#/control/categories/other
- tmod:@turbot/azure-loganalytics#/policy/types/logAnalyticsWorkspaceDays
- turbot graphql policy-type --id "tmod:@turbot/azure-loganalytics#/policy/types/logAnalyticsWorkspaceDays"
- turbot graphql policy-settings --filter "policyTypeId:tmod:@turbot/azure-loganalytics#/policy/types/logAnalyticsWorkspaceDays"
Get Policy TypeGet Policy Settings
Category URI
Policy Type URI
GraphQL
CLI