Forum Discussion

Jagadt's avatar
Jagadt
Copper Contributor
Jan 25, 2020
Solved

Azure Activity Log Retention

Hi All,   We are exporting activity logs to a separate storage account based on the new method of selecting diagnostic settings (refer attached screenshot) however I don't see an option to setup re...
  • hspinto's avatar
    hspinto
    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.

Resources