Get metrics on Azure Storage Account Blob being used, not the entire data store.

Eduard Kruger 21 Reputation points
2020-11-23T09:47:36.36+00:00

Is it possible via the Azure Portal to get metrics on specific BLOB containers' transactions and the files they affected? I can only get metrics for the entire storage account and multiple apps/services use the same account, I need to find out which container is being used so I can narrow down which app consumes the most resources on the storage account.

Any help/advice would be greatly appreciated, thank you!!

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,208 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 46,441 Reputation points Microsoft Employee
    2020-11-23T14:22:32.62+00:00

    @Eduard Kruger With Log Analytics, the measurement can be achieved by aggregating storage logs on container/folder. You can refer to the below for detailed guidelines.

    You need to calculate based on request or response sizes. Here’s an example for Ingress/Egress:

    StorageBlobLogs
    | extend Ingress = iff(isnull(RequestHeaderSize),0,RequestHeaderSize) + iff(isnull(RequestBodySize),0,RequestBodySize)
    | extend Egress = iff(isnull(ResponseHeaderSize),0,ResponseHeaderSize) + iff(isnull(ResponseBodySize),0,ResponseBodySize)
    | project OperationName, Ingress, Egress, RequestHeaderSize, RequestBodySize, ResponseHeaderSize, ResponseBodySize

    Azure Monitor
    • Metrics: https://learn.microsoft.com/en-us/azure/storage/common/storage-metrics-in-azure-monitor

    If the above suggestion doesn't help you:

    The workaround is to aggregate the statistics from analytics logs to capture changes plus create a capacity baseline by enumerating objects in each container.

    Will you please elaborate on what usage of containers you need? What’s the model of container layout versus the final users? How many containers and blobs in each container can be projected?

    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.