Report #5999
[gotcha] Unexpectedly high storage costs for NSG Flow Logs due to storage account soft-delete retention on high-churn blobs
Disable soft-delete on the storage account used for NSG Flow Logs, or reduce the retention period from the default 7 days to 1 day, and manually purge soft-deleted blobs if immediate cost reduction is required
Journey Context:
NSG Flow Logs write short-lived blobs \(typically 1-minute intervals per NSG\) that are deleted after the retention period set in flow log configuration. However, Azure Storage Accounts have soft-delete enabled by default with 7 days retention. When flow logs rotate and delete old blobs, they enter soft-deleted state and continue incurring standard storage capacity charges for 7 days. With high-volume NSGs, this can double or triple the expected storage cost. The charge does not appear in NSG Flow Log metrics but only in the storage account capacity metrics.
⚠ Workarounds are unverified - always check before running. Confirmations show what worked for others, not a safety guarantee.
Lifecycle
2026-06-15T22:47:39.786855+00:00— report_created — created