AWS elb metricset
Elastic Cloud Serverless projects are autoscaled environments, fully managed by Elastic and available on Elastic Cloud. Availability This functionality is generally available and ready for production usage. Serverless interfaces and procedures might differ from classic Elastic Stack deployments. The Elastic Stack includes Elastic's core products such as Elasticsearch, Kibana, Logstash, and Beats. Availability This functionality is generally available and ready for production usage. Unless stated otherwise on the page, this functionality is available when your Elastic Stack is deployed on Elastic Cloud Hosted, Elastic Cloud Enterprise, Elastic Cloud on Kubernetes, and self-managed environments. This documentation corresponds to the latest patch available for each minor version. If you're not using the latest patch, check the release notes for changes.
Serverless
Generally available
Stack
Generally available
Elastic Load Balancing publishes data points to Amazon CloudWatch for your load balancers and your back-end instances. This aws elb metricset collects these Cloudwatch metrics for monitoring purposes.
Some specific AWS permissions are required for IAM user to collect AWS ELB metrics.
ec2:DescribeRegions
cloudwatch:GetMetricData
cloudwatch:ListMetrics
tag:getResources
sts:GetCallerIdentity
iam:ListAccountAliases
The aws elb metricset comes with a predefined dashboard for classic ELB. For example:

- module: aws
period: 300s
metricsets:
- elb
access_key_id: '${AWS_ACCESS_KEY_ID:""}'
secret_access_key: '${AWS_SECRET_ACCESS_KEY:""}'
session_token: '${AWS_SESSION_TOKEN:""}'
# This module uses the aws cloudwatch metricset, all
# the options for this metricset are also available here.
elb metricset collects Cloudwatch metrics from classic ELB, application ELB and network ELB.
| Metric Name | Statistic Method |
|---|---|
| BackendConnectionErrors | Sum |
| HealthyHostCount | Maximum |
| HTTPCode_Backend_2XX | Sum |
| HTTPCode_Backend_3XX | Sum |
| HTTPCode_Backend_4XX | Sum |
| HTTPCode_Backend_5XX | Sum |
| HTTPCode_ELB_4XX | Sum |
| HTTPCode_ELB_5XX | Sum |
| Latency | Average |
| RequestCount | Sum |
| SpilloverCount | Sum |
| SurgeQueueLength | Maximum |
| UnHealthyHostCount | Maximum |
| EstimatedALBActiveConnectionCount | Average |
| EstimatedALBConsumedLCUs | Average |
| EstimatedALBNewConnectionCount | Average |
| EstimatedProcessedBytes | Average |
| Metric Name | Statistic Method |
|---|---|
| ActiveConnectionCount | Sum |
| ClientTLSNegotiationErrorCount | Sum |
| ConsumedLCUs | Average |
| HTTP_Fixed_Response_Count | Sum |
| HTTP_Redirect_Count | Sum |
| HTTP_Redirect_Url_Limit_Exceeded_Count | Sum |
| HTTPCode_ELB_3XX_Count | Sum |
| HTTPCode_ELB_4XX_Count | Sum |
| HTTPCode_ELB_5XX_Count | Sum |
| HTTPCode_ELB_500_Count | Sum |
| HTTPCode_ELB_502_Count | Sum |
| HTTPCode_ELB_503_Count | Sum |
| HTTPCode_ELB_504_Count | Sum |
| IPv6ProcessedBytes | Sum |
| IPv6RequestCount | Sum |
| NewConnectionCount | Sum |
| ProcessedBytes | Sum |
| RejectedConnectionCount | Sum |
| RequestCount | Sum |
| RuleEvaluations | Sum |
| Metric Name | Statistic Method |
|---|---|
| ActiveFlowCount | Average |
| ActiveFlowCount_TLS | Average |
| ActiveFlowCount_TCP | Average |
| ActiveFlowCount_UDP | Average |
| ConsumedLCUs | Average |
| ConsumedLCUs_TCP | Average |
| ConsumedLCUs_TLS | Average |
| ConsumedLCUs_UDP | Average |
| ClientTLSNegotiationErrorCount | Sum |
| NewFlowCount | Sum |
| NewFlowCount_TLS | Sum |
| NewFlowCount_TCP | Sum |
| NewFlowCount_UDP | Sum |
| ProcessedBytes | Sum |
| ProcessedBytes_TCP | Sum |
| ProcessedBytes_TLS | Sum |
| ProcessedBytes_UDP | Sum |
| TargetTLSNegotiationErrorCount | Sum |
| TCP_Client_Reset_Count | Sum |
| TCP_ELB_Reset_Count | Sum |
| TCP_Target_Reset_Count | Sum |
| UnHealthyHostCount | Maximum |
| HealthyHostCount | Maximum |
This is a default metricset. If the host module is unconfigured, this metricset is enabled by default.
For a description of each field in the metricset, see the exported fields section.
Here is an example document generated by this metricset:
{
"@timestamp": "2017-10-12T08:05:34.853Z",
"aws": {
"cloudwatch": {
"namespace": "AWS/ELB"
},
"dimensions": {
"Namespace": "AWS"
},
"elb": {
"metrics": {
"HealthyHostCount": {
"max": 2
},
"Latency": {
"avg": 0.000005960464477539062
},
"RequestCount": {
"sum": 1
},
"SurgeQueueLength": {
"max": 1
},
"UnHealthyHostCount": {
"max": 0
}
}
}
},
"cloud": {
"account": {
"id": "428152502467",
"name": "elastic-beats"
},
"provider": "aws",
"region": "us-east-1"
},
"event": {
"dataset": "aws.elb",
"duration": 115000,
"module": "aws"
},
"metricset": {
"name": "elb",
"period": 10000
},
"service": {
"type": "aws"
}
}