Skip to content

Commit 8be62fb

Browse files
Incorporate feedback.
1 parent 8251368 commit 8be62fb

File tree

1 file changed

+46
-47
lines changed

1 file changed

+46
-47
lines changed

articles/application-gateway/monitor-application-gateway-reference.md

Lines changed: 46 additions & 47 deletions
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ The following metrics are available. For details, see the [metrics table](#suppo
6464

6565
### Application Gateway metrics for Application Gateway V1 SKU
6666

67-
For Application Gateway, the following metrics are available:
67+
For Application Gateway V1 SKU, the following metrics are available:
6868

6969
- **CPU Utilization**. Displays the utilization of the CPUs allocated to the Application Gateway. Under normal conditions, CPU usage should not regularly exceed 90%, as this may cause latency in the websites hosted behind the Application Gateway and disrupt the client experience. You can indirectly control or improve CPU utilization by modifying the configuration of the Application Gateway by increasing the instance count or by moving to a larger SKU size, or doing both.
7070

@@ -80,7 +80,7 @@ For Application Gateway, the following metrics are available:
8080

8181
### Backend metrics for Application Gateway V1 SKU
8282

83-
For Application Gateway, the following metrics are available:
83+
The following metrics are available:
8484

8585
- **Healthy host count**. The number of backends that are determined healthy by the health probe. You can filter on a per backend pool basis to show the number of healthy hosts in a specific backend pool.
8686

@@ -170,6 +170,8 @@ Application Gateway's layer 4 proxy provides the capability to monitor the healt
170170

171171
### Application Gateway v1 metrics
172172

173+
The following descriptions apply to metrics collected when you are running an Application Gateway v1 instance.
174+
173175
| Metric | Unit | Description|
174176
|:-------|:-----|:------------|
175177
|**CPU Utilization**|Percent|Displays the CPU usage allocated to the Application Gateway. Under normal conditions, CPU usage shouldn't regularly exceed 90%, because this situation might cause latency in the websites hosted behind the Application Gateway and disrupt the client experience. You can indirectly control or improve CPU usage by modifying the configuration of the Application Gateway by increasing the instance count or by moving to a larger SKU size, or doing both.|
@@ -214,7 +216,7 @@ For more information, see a list of [all platform metrics supported in Azure Mon
214216
215217
[!INCLUDE [horz-monitor-ref-resource-logs](~/reusable-content/ce-skilling/azure/includes/azure-monitor/horizontals/horz-monitor-ref-resource-logs.md)]
216218

217-
### Supported resource logs for Microsoft.Network/applicationGateways
219+
### Supported resource log categories for Microsoft.Network/applicationGateways
218220

219221
[!INCLUDE [Microsoft.Network/applicationgateways](~/reusable-content/ce-skilling/azure/includes/azure-monitor/reference/logs/microsoft-network-applicationgateways-logs-include.md)]
220222

@@ -227,11 +229,7 @@ For more information, see a list of [all platform metrics supported in Azure Mon
227229
> [!NOTE]
228230
> The Performance log is available only for the v1 SKU. For the v2 SKU, use [Metrics](application-gateway-metrics.md) for performance data.
229231
230-
#### Activity log
231-
232-
Azure generates the activity log by default. The logs are preserved for 90 days in the Azure event logs store. Learn more about these logs by reading the [View events and activity log](../azure-monitor/essentials/activity-log.md) article.
233-
234-
#### Access log
232+
### Access log category
235233

236234
The access log is generated only if you enable it on each Application Gateway instance, as detailed in [Enable logging](application-gateway-diagnostics.md#enable-logging-through-the-azure-portal). The data is stored in the storage account that you specified when you enabled the logging. Each access of Application Gateway is logged in JSON format as shown.
237235

@@ -383,50 +381,13 @@ If the application gateway can't complete the request, it stores one of the foll
383381
| ERRORINFO_HTTP_TO_HTTPS_PORT |The client sent a plain HTTP request to an HTTPS port. |
384382
| ERRORINFO_HTTPS_NO_CERT | Indicates client isn't sending a valid and properly configured TLS certificate during Mutual TLS authentication. |
385383

386-
387384
|5XX Errors | Description |
388385
|---------|---------|
389386
| ERRORINFO_UPSTREAM_NO_LIVE | The application gateway is unable to find any active or reachable backend servers to handle incoming requests |
390387
| ERRORINFO_UPSTREAM_CLOSED_CONNECTION | The backend server closed the connection unexpectedly or before the request was fully processed. This condition could happen due to backend server reaching its limits, crashing etc.|
391388
| ERRORINFO_UPSTREAM_TIMED_OUT | The established TCP connection with the server was closed as the connection took longer than the configured timeout value. |
392389

393-
#### Performance log
394-
395-
The performance log is generated only if you enable it on each Application Gateway instance, as detailed in [Enable logging](application-gateway-diagnostics.md#enable-logging-through-the-azure-portal). The data is stored in the storage account that you specified when you enabled the logging. The performance log data is generated in 1-minute intervals. It's available only for the v1 SKU. For the v2 SKU, use [Metrics](application-gateway-metrics.md) for performance data. The following data is logged:
396-
397-
|Value |Description |
398-
|---------|---------|
399-
|instanceId | Application Gateway instance for which performance data is being generated. For a multiple-instance application gateway, there's one row per instance. |
400-
|healthyHostCount | Number of healthy hosts in the backend pool. |
401-
|unHealthyHostCount | Number of unhealthy hosts in the backend pool. |
402-
|requestCount | Number of requests served. |
403-
|latency | Average latency (in milliseconds) of requests from the instance to the back end that serves the requests. |
404-
|failedRequestCount| Number of failed requests.|
405-
|throughput| Average throughput since the last log, measured in bytes per second.|
406-
407-
```json
408-
{
409-
"resourceId": "/SUBSCRIPTIONS/{subscriptionId}/RESOURCEGROUPS/{resourceGroupName}/PROVIDERS/MICROSOFT.NETWORK/APPLICATIONGATEWAYS/{applicationGatewayName}",
410-
"operationName": "ApplicationGatewayPerformance",
411-
"time": "2016-04-09T00:00:00Z",
412-
"category": "ApplicationGatewayPerformanceLog",
413-
"properties":
414-
{
415-
"instanceId":"ApplicationGatewayRole_IN_1",
416-
"healthyHostCount":"4",
417-
"unHealthyHostCount":"0",
418-
"requestCount":"185",
419-
"latency":"0",
420-
"failedRequestCount":"0",
421-
"throughput":"119427"
422-
}
423-
}
424-
```
425-
426-
> [!NOTE]
427-
> Latency is calculated from the time when the first byte of the HTTP request is received to the time when the last byte of the HTTP response is sent. It's the sum of the Application Gateway processing time plus the network cost to the back end, plus the time that the back end takes to process the request.
428-
429-
#### Firewall log
390+
### Firewall log category
430391

431392
The firewall log is generated only if you enable it for each application gateway, as detailed in [Enable logging](application-gateway-diagnostics.md#enable-logging-through-the-azure-portal). This log also requires that the web application firewall is configured on an application gateway. The data is stored in the storage account that you specified when you enabled the logging. The following data is logged:
432393

@@ -482,7 +443,43 @@ The firewall log is generated only if you enable it for each application gateway
482443
}
483444
```
484445

485-
### Diagnostics tables
446+
### Performance log category
447+
448+
The performance log is generated only if you enable it on each Application Gateway instance, as detailed in [Enable logging](application-gateway-diagnostics.md#enable-logging-through-the-azure-portal). The data is stored in the storage account that you specified when you enabled the logging. The performance log data is generated in 1-minute intervals. It's available only for the v1 SKU. For the v2 SKU, use [Metrics](application-gateway-metrics.md) for performance data. The following data is logged:
449+
450+
|Value |Description |
451+
|---------|---------|
452+
|instanceId | Application Gateway instance for which performance data is being generated. For a multiple-instance application gateway, there's one row per instance. |
453+
|healthyHostCount | Number of healthy hosts in the backend pool. |
454+
|unHealthyHostCount | Number of unhealthy hosts in the backend pool. |
455+
|requestCount | Number of requests served. |
456+
|latency | Average latency (in milliseconds) of requests from the instance to the back end that serves the requests. |
457+
|failedRequestCount| Number of failed requests.|
458+
|throughput| Average throughput since the last log, measured in bytes per second.|
459+
460+
```json
461+
{
462+
"resourceId": "/SUBSCRIPTIONS/{subscriptionId}/RESOURCEGROUPS/{resourceGroupName}/PROVIDERS/MICROSOFT.NETWORK/APPLICATIONGATEWAYS/{applicationGatewayName}",
463+
"operationName": "ApplicationGatewayPerformance",
464+
"time": "2016-04-09T00:00:00Z",
465+
"category": "ApplicationGatewayPerformanceLog",
466+
"properties":
467+
{
468+
"instanceId":"ApplicationGatewayRole_IN_1",
469+
"healthyHostCount":"4",
470+
"unHealthyHostCount":"0",
471+
"requestCount":"185",
472+
"latency":"0",
473+
"failedRequestCount":"0",
474+
"throughput":"119427"
475+
}
476+
}
477+
```
478+
479+
> [!NOTE]
480+
> Latency is calculated from the time when the first byte of the HTTP request is received to the time when the last byte of the HTTP response is sent. It's the sum of the Application Gateway processing time plus the network cost to the back end, plus the time that the back end takes to process the request.
481+
482+
### Azure Monitor Logs and Log Analytics Tables
486483

487484
Azure Application Gateway uses the [Azure Diagnostics](/azure/azure-monitor/reference/tables/azurediagnostics) table to store resource log information. The following columns are relevant.
488485

@@ -517,6 +514,8 @@ Azure Application Gateway uses the [Azure Diagnostics](/azure/azure-monitor/refe
517514

518515
You can use Azure activity logs to view all operations that are submitted to your Azure subscription, and their status. Activity log entries are collected by default. You can view them in the Azure portal. Azure activity logs were formerly known as *operational logs* and *audit logs*.
519516

517+
Azure generates activity logs by default. The logs are preserved for 90 days in the Azure event logs store. Learn more about these logs by reading the [View events and activity log](../azure-monitor/essentials/activity-log.md) article.
518+
520519
## Related content
521520

522521
- See [Monitor Azure Application Gateway](monitor-application-gateway.md) for a description of monitoring Application Gateway.

0 commit comments

Comments
 (0)