Skip to content

Commit 271d40e

Browse files
committed
freshness review
1 parent b15ea88 commit 271d40e

File tree

1 file changed

+11
-9
lines changed

1 file changed

+11
-9
lines changed

articles/cdn/monitoring-and-access-log.md

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,19 @@ manager: KumudD
77
ms.service: azure-cdn
88
ms.tgt_pltfrm: na
99
ms.topic: how-to
10-
ms.date: 11/23/2020
10+
ms.date: 02/27/2023
1111
ms.author: yuajia
1212
ms.custom: devx-track-azurepowershell
1313
---
1414

1515
# Real-time Monitoring, metrics, and access Logs for Azure CDN
16+
1617
With Azure CDN from Microsoft, you can monitor resources in the following ways to help you troubleshoot, track, and debug issues.
1718

1819
* Raw logs provide rich information about every request that CDN receives. Raw logs differ from activity logs. Activity logs provide visibility into the operations done on Azure resources.
1920
* Metrics, which display four key metrics on CDN, including Byte Hit Ratio, Request Count, Response Size and Total Latency. It also provides different dimensions to break down metrics.
2021
* Alert, which allows customer to set up alert for key metrics
21-
* Additional metrics, which allow customers to use Azure Log Analytics to enable additional metrics of value. We also provide query samples for a few other metrics under Azure Log Analytics.
22+
* More metrics, which allow customers to use Azure Log Analytics to enable more metrics of value. We also provide query samples for a few other metrics under Azure Log Analytics.
2223

2324
> [!IMPORTANT]
2425
> The HTTP raw logs feature is available for Azure CDN from Microsoft.
@@ -148,12 +149,12 @@ Azure CDN from Microsoft Service currently provides Raw logs. Raw logs provide i
148149
149150
| Property | Description |
150151
| ------------- | ------------- |
151-
| BackendHostname | If the request is being forwarded to a backend, this field represents the hostname of the backend. This field will be blank if the request gets redirected or forwarded to a regional cache (when caching gets enabled for the routing rule). |
152+
| BackendHostname | If the request is being forwarded to a backend, this field represents the hostname of the backend. This field is blank if the request gets redirected or forwarded to a regional cache (when caching gets enabled for the routing rule). |
152153
| CacheStatus | For caching scenarios, this field defines the cache hit/miss at the POP |
153154
| ClientIp | The IP address of the client that made the request. If there was an X-Forwarded-For header in the request, then the Client IP is picked from the same. |
154155
| ClientPort | The IP port of the client that made the request. |
155156
| HttpMethod | HTTP method used by the request. |
156-
| HttpStatusCode | The HTTP status code returned from the proxy. If a request to the the origin timeout, the value for HttpStatusCode is set to **0**.|
157+
| HttpStatusCode | The HTTP status code returned from the proxy. If a request to the origin timeouts the value for HttpStatusCode is set to **0**.|
157158
| HttpStatusDetails | Resulting status on the request. Meaning of this string value can be found at a Status reference table. |
158159
| HttpVersion | Type of the request or connection. |
159160
| POP | Short name of the edge where the request landed. |
@@ -181,7 +182,7 @@ The raw log property **isSentToOriginShield** has been deprecated and replaced b
181182
182183
Raw logs include logs generated from both CDN edge (child POP) and origin shield. Origin shield refers to parent nodes that are strategically located across the globe. These nodes communicate with origin servers and reduce the traffic load on origin.
183184
184-
For every request that goes to origin shield, there are 2-log entries:
185+
For every request that goes to origin shield, there are two log entries:
185186
186187
* One for edge nodes
187188
* One for origin shield.
@@ -263,12 +264,13 @@ Select **New alert rule** for metrics listed in Metrics section:
263264

264265
:::image type="content" source="./media/cdn-raw-logs/raw-logs-08.png" alt-text="Configure alerts for CDN endpoint." border="true":::
265266

266-
Alert will be charged based on Azure Monitor. For more information about alerts, see [Azure Monitor alerts](../azure-monitor/alerts/alerts-overview.md).
267+
Alert is charged based on Azure Monitor. For more information about alerts, see [Azure Monitor alerts](../azure-monitor/alerts/alerts-overview.md).
268+
269+
### More Metrics
267270

268-
### Additional Metrics
269-
You can enable additional metrics using Azure Log Analytics and raw logs for an additional cost.
271+
You can enable more metrics using Azure Log Analytics and raw logs for an extra cost.
270272

271-
1. Follow steps above in enabling diagnostics to send raw log to log analytics.
273+
1. Follow steps in the previous section to enable diagnostics to send raw log to log analytics.
272274

273275
2. Select the Log Analytics workspace you created:
274276

0 commit comments

Comments
 (0)