Does Storage Analytics stop logging in $logs after reaching the 20TB limit?

Somansh Reddy 141 Reputation points
2020-09-03T20:58:36.82+00:00

Does Storage Analytics stop logging in $logs after reaching the 20TB limit? Or does it automatically delete the older log files to make space for the new ones.

Azure Storage Accounts
Azure Storage Accounts
Globally unique resources that provide access to data management services and serve as the parent namespace for the services.
3,216 questions
Azure Blob Storage
Azure Blob Storage
An Azure service that stores unstructured data in the cloud as blobs.
2,916 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 46,441 Reputation points Microsoft Employee
    2020-09-04T12:08:00.26+00:00

    @Somansh Reddy By default, Storage Analytics will not delete any logging or metrics data. Blobs and table entities will continue to be written until the shared 20 TiB limit is reached. Once the 20 TiB limit is reached, Storage Analytics will stop writing new data and will not resume until free space is available. This 20 TiB limit is independent of the total limit for your storage account. For more information on storage account limits, see Azure Storage Scalability and Performance Targets.

    There are two ways to delete Storage Analytics data: by manually making deletion requests or by setting a data retention policy. Manual requests to delete Storage Analytics data are billable, but delete requests resulting from a retention policy are not billable.

    Note: To avoid unnecessary charges, set a retention policy for logging and metrics

    You can configure two data retention policies: one for logging and one for metrics. When enabled for both, Storage Analytics will delete logs and table entries older than the specified number of days. The maximum retention period is 365 days (1 year)..

    Note: If you disable Storage Analytics for a storage service but a data retention policy is enabled, your old data will continue to get deleted. To avoid accidental data loss, ensure that you configure your data retention policy when enabling and disabling Storage Analytics.

    Hope this helps!

    Kindly let us know if the above helps or you need further assistance on this issue.

    --------------------------------------------------------------------------------------------------

    Please don’t forget to "Accept the answer” and “up-vote” wherever the information provided helps you, this can be beneficial to other community members.

    1 person found this answer helpful.

0 additional answers

Sort by: Most helpful

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.