Azure CDN endpoint usage

mrcode86 21 Reputation points
2024-03-13T12:41:38.3566667+00:00

Hello,

Is there a convenient way to export statistics from the Front Door and CDN profile (Standard Edgio)?

I'm interested in seeing how much traffic each endpoint consumes (which we have to pay for).

Today, I have to manually access cdn.windowsazure.com/reports/custom to retrieve this information.

Now, I want this information exported somewhere.

I have read that i can retrieve statistics through Azure diagnostics logs for the CDN endpoint.

(https://learn.microsoft.com/en-us/azure/cdn/cdn-azure-diagnostic-logs#diagnostic-log-types-for-cdn-core-analytics)

I have tried this and I get statistics, but when I compare the statistics for a day for an endpoint, it does not match the statistics I get from cdn.windowsazure.com/reports/custom. In Azure diagnostics logs, I get 64.51 GB when I sum EgressTotal.

In cdn.windowsazure.com/reports/custom, I see in the table for the same date and endpoint, 69539.54 MB. What is the difference between these methods of obtaining statistics? Am I missing something when calculating the statistics in Azure diagnostics logs (metrics)? Or is it not possible to do as I have thought?

Azure Front Door
Azure Front Door
An Azure service that provides a cloud content delivery network with threat protection.
576 questions
{count} votes

Accepted answer
  1. ChaitanyaNaykodi-MSFT 22,856 Reputation points Microsoft Employee
    2024-03-16T01:37:25.29+00:00

    @mrcode86

    Thank you for getting back. Actually I thought you had Azure Front Door profile and a Azure CND Edgio standard deployed as well. But I get it now that it is just CDN profile (Standard Edgio).

    Let me summarize my understanding from your question above.

    I understand you have already referred to Edge CNAMES custom report here which has the property.

    Data Transferred: Indicates the total amount of data transferred from the edge servers to the HTTP clients (for example, web browsers) for requests that are directed to an edge CNAME on which the custom reporting capability is enabled. The amount of data transferred is calculated by adding HTTP response headers to the response body.

    The Data Transferred property shows as 69539.54 MB for a particular day.

    And you also went through the Egress Total property of Azure Diagnostic which shows egress of 64.51 GB for that particular day.

    Based on this observation you had a question below

    What is the difference between these methods of obtaining statistics? Am I missing something when calculating the statistics in Azure diagnostics logs (metrics)?

    The difference here is that the Custom report is provided and maintained by Edgio(As CDN profile (Standard Edgio) is the offering provided by them). The Diagnostics data is maintained and provided by Azure.

    There can be a difference between the statistics due to time zone difference and process delay. Although the monthly data should be the same for which you will be billed.

    Hope this answers your query. Please let me know if you have any additional questions. Thank you!

    1 person found this answer helpful.
    0 comments No comments

0 additional answers

Sort by: Most helpful