Forum Discussion
Azure Activity Log Retention
- Jan 26, 2020
Jagadt, the storage retention configuration options between Activity Log and NSG Flow Logs are not consistent, as you stated. A recent document confirms that Activity Logs are retained forever in Storage Accounts. However, there might be some good reason for that. For example, NSG Flow Logs also had recently, during some weeks, no retention options available, until it became available again with storage lifecycle integration. So I believe that sooner or later the same will happen to Activity Log.
Regarding the second question, immutable time-based locked policies will take precedence over lifecycle management policies.
Jagadt, the storage retention configuration options between Activity Log and NSG Flow Logs are not consistent, as you stated. A recent document confirms that Activity Logs are retained forever in Storage Accounts. However, there might be some good reason for that. For example, NSG Flow Logs also had recently, during some weeks, no retention options available, until it became available again with storage lifecycle integration. So I believe that sooner or later the same will happen to Activity Log.
Regarding the second question, immutable time-based locked policies will take precedence over lifecycle management policies.