Storage Analytics Overview
Windows Azure Storage Analytics performs logging and provides metrics data for a storage account. You can use this data to trace requests, analyze usage trends, and diagnose issues with your storage account.
To use Storage Analytics, you must enable it individually for each service you want to monitor. The aggregated data is accessed using the Blob service and Table service APIs. These APIs are accessible from within a service running in Windows Azure, or directly over the Internet from any application that can send an HTTP/HTTPS request and receive an HTTP/HTTPS response.
|The Windows Azure storage services support both HTTP and HTTPS; however, using HTTPS is highly recommended.|
Storage Analytics has a 20TB limit on the amount of stored data that is independent of the 100TB limit for your storage account. For more information on billing and data retention policies, see Storage Analytics and Billing.
Storage Analytics can log detailed information for authenticated requests and successful anonymous requests to a storage service. Logging is enabled and disabled at the service level, not the storage account level. For example, to enable logging for the Blob, Table, and Queue services, you must make a separate request to each service: one to the Blob service, one to the Table service, and one to the Queue service.
All logs are stored in block blobs in a container named
$logs, which is automatically created when Storage Analytics is enabled for a storage account. All data in this container can be accessed by using the Blob service APIs. A storage account administrator can read and delete logs, but cannot create or update them. Additionally, the
$logs container cannot be deleted, but its contents can be deleted.
Storage Analytics can report transaction statistics and capacity data for a storage account. Metrics is enabled and disabled at the service level, not the storage account level. For example, to enable metrics for a given storage account’s Blob, Table, and Queue services, you must make a separate request to each service: one to the Blob service, one to the Table service, and one to the Queue service.
All metrics data is stored in two tables per service: one table for transaction information, and another table for capacity information. Transaction information consists of request and response data, and capacity information consists of storage usage data. Metrics for a storage account’s Blob service can be accessed in tables named
$MetricsCapacityBlob. As of version 1.0 of Storage Analytics, capacity data will only be reported for the Blob service.
A storage account administrator can read and delete metrics data, but cannot create or update it. Additionally, the metrics tables cannot be deleted, though their contents can be deleted.