Forum Discussion
JoNguyen
Sep 21, 2022Copper Contributor
Does a retention rate need to be set if there is already a lifecycle management policy rule set?
I have some NSG flow logs that is sending data over to a storage account. The retention days is set to 0 for the NSG flow log resource (where it is retained forever in the storage account). In th...
MassimoBonanni
Oct 14, 2022Learn Expert
Do you want to apply a different rule for blobs produced by the NSG diagnostic and for other blobs?
If yes, you can use filtering option in the lifecycle rule.
The NSG logs are saved in a particular container (if I remember well) so you can apply rules for all the other container except for that.
https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-policy-configure?tabs=azure-portal
If yes, you can use filtering option in the lifecycle rule.
The NSG logs are saved in a particular container (if I remember well) so you can apply rules for all the other container except for that.
https://learn.microsoft.com/en-us/azure/storage/blobs/lifecycle-management-policy-configure?tabs=azure-portal