Amazon Elastic Load Balancing
Overview
Amazon Elastic Load Balancing automatically distributes incoming application traffic across multiple Amazon EC2 instances in the cloud.
Datadog collects metrics and metadata from all three flavors of Elastic Load Balancers that AWS offers: Application (ALB), Classic (ELB), and Network Load Balancers (NLB).
Enable this integration to see in Datadog all your Elastic Load Balancing metrics.
Note: This integration requires the permissions ’ec2:describe**’ and ’elasticloadbalancing:describe*’ to be fully enabled.
Setup
Installation
If you haven’t already, set up the Amazon Web Services integration first.
Metric collection
- In the AWS integration page, ensure that
ApplicationELB
, ELB
, and NetworkELB
are enabled under the Metric Collection
tab. - Install the Datadog - Amazon ELB integration.
Log collection
Enable Amazon ELB or ALB logging
Enable the logging on your ELB or your ALB first to collect your logs. ALB and ELB logs can be written in an Amazon S3 bucket and consumed by a Lambda function. For more information, see Enable access logs for your Classic Load Balancer.

Set the interval to 5 minutes and define your S3 bucket and prefix. To avoid having an ambiguously defined S3 event notification configuration, be sure to use a unique location that does not overlap with any other load balancer’s log location. When multiple load balancers are logging to the same bucket, be sure to use a unique prefix, such as my-bucket-for-elb-logs/my-elb-name
, to have their logs stored in separate locations.

Send logs to Datadog
- If you haven’t already, set up the Datadog Forwarder Lambda function in your AWS account.
- Once set up, go to the Datadog Forwarder Lambda function. Set up your triggers automatically or manually on the S3 bucket that contains your ELB logs. For the manual setup, use the event type
All object create events
. - Use the Log Explorer to explore your logs.
For more information on collecting AWS Services logs, see Send AWS Services Logs with the Datadog Lambda Function.
Data Collected
Metrics
See metric-spec.yaml for a list of metrics provided by this integration.
Events
The Amazon Elastic Load Balancing integration does not include any events.
Service Checks
The Amazon Elastic Load Balancing integration does not include any service checks.
Troubleshooting
Need help? Contact Datadog support.