This document provides you an overview about logs and metrics generated by
external Application Load Balancers.

To learn how to configure and use [Cloud Logging](https://docs.cloud.google.com/logging)
and [Cloud Monitoring](https://docs.cloud.google.com/monitoring), list of metrics, log record formats,
and other information, refer to the following pages:

- [Global external Application Load Balancer and classic Application Load Balancer logging and monitoring](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt).
- [Regional external Application Load Balancer logging and monitoring](https://docs.cloud.google.com/load-balancing/docs/https/https-reg-logging-monitoring.md.txt).

## Monitoring features

The following table indicates the monitoring features supported by
external Application Load Balancers:

| Feature | External HTTP(S) |||
| Feature | Global | Classic | Regional |
|---|---|---|---|
| HTTP request count metrics | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#monitoring_metrics) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#monitoring_metrics) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-reg-logging-monitoring.md.txt#monitoring_metrics) |
| Byte count metrics | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#monitoring_metrics) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#monitoring_metrics) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-reg-logging-monitoring.md.txt#log-fields) |
| Round trip time (RTT) metrics | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#monitoring_metrics) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#monitoring_metrics) |   |
| Request latency metrics | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#monitoring_metrics) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#monitoring_metrics) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-reg-logging-monitoring.md.txt#metrics_fors) |

## Logging features

The following table indicates the logging features supported by
external Application Load Balancers:

| Feature | External HTTP(S) |||
| Feature | Global | Classic | Regional |
|---|---|---|---|---|---|---|---|---|
| Log type |||||||||
| HTTP request and response attribute logs | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#log-fields) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#log-fields) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-reg-logging-monitoring.md.txt#log-fields) |
| [](https://docs.cloud.google.com/logging/docs/reference/v2/rest/v2/LogEntry.md.txt#HttpRequest)HTTP request | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#log-fields) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#log-fields) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-reg-logging-monitoring.md.txt#log-fields) |
| Log fields |||||||||
| String which explains the proxy response | [statusDetails](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#failure-messages) | [statusDetails](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#failure-messages) | [proxyStatus](https://docs.cloud.google.com/load-balancing/docs/https/https-reg-logging-monitoring.md.txt#proxy-status) |
| TLS metadata between client and load balancer | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#tls-info) |   | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-reg-logging-monitoring.md.txt#tls-info) |
| Failed TLS connection logs |   |   | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-reg-logging-monitoring.md.txt#failed-tls-log) |
| Labels describing the load balancer resource | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#resource-labels) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-logging-monitoring.md.txt#resource-labels) | Yes[info](https://docs.cloud.google.com/load-balancing/docs/https/https-reg-logging-monitoring.md.txt#resource-labels) |

## Monitoring resources

The monitoring resources for global external Application Load Balancer and
classic Application Load Balancer are the same. The following table specifies the
resource names for external Application Load Balancers in each mode:

|   | External HTTP(S) |||
|   | Global | Classic | Regional |
|---|---|---|---|
| [Logging monitored-resource type](https://docs.cloud.google.com/logging/docs/api/v2/resource-list.md.txt) | "Application Load Balancer" `http_load_balancer` || "Regional External Application Load Balancer Rule" `http_external_regional_lb_rule` |
| [Monitoring monitored-resource type](https://docs.cloud.google.com/logging/docs/api/v2/resource-list.md.txt) | "Application Load Balancer Rule" (Logs-based Metrics) `l7_lb_rule` || "Regional External Application Load Balancer Rule" `http_external_regional_lb_rule` |
| [Monitoring monitored-resource type](https://docs.cloud.google.com/logging/docs/api/v2/resource-list.md.txt) | "Global External Application Load Balancer Rule" `https_lb_rule` ||   |

## What's next

- Read [conceptual information about external Application Load Balancers](https://docs.cloud.google.com/load-balancing/docs/https.md.txt).
- [Interactive walkthrough to view and analyze log entries for global external Application Load Balancers.](https://console.cloud.google.com/compute/instances?walkthrough_tutorial_id=load-balancing--view-log-entries-external-https-load-balancing)
- [Interactive walkthrough to create alerting policies for global external Application Load Balancers.](https://console.cloud.google.com/compute/instances?walkthrough_tutorial_id=load-balancing--create-alerting-policy-http-load-balancer)