Table: aws_ec2_application_load_balancer_metric_request_count_daily - Query AWS EC2 Application Load Balancer using SQL
The AWS EC2 Application Load Balancer is a fully managed service that operates at the application layer, the seventh layer of the Open Systems Interconnection (OSI) model. It performs advanced traffic distribution across multiple targets, such as Amazon EC2 instances, containers, and IP addresses. The service also monitors the health of its registered targets and ensures that it routes traffic only to healthy targets.
Table Usage Guide
The aws_ec2_application_load_balancer_metric_request_count_daily
table in Steampipe gives you information about the daily request count metrics of the AWS EC2 Application Load Balancer. You can use this table to query and analyze the number of requests processed by the Application Load Balancer on a daily basis. It allows you, as a DevOps engineer, to monitor the load on the balancer, identify potential spikes in traffic, and plan capacity accordingly. The schema outlines the various attributes of the metrics, including the load balancer name, namespace, metric name, and the timestamp of the metric.
The aws_ec2_application_load_balancer_metric_request_count_daily
table provides you with metric statistics at 24 hour intervals for the most recent 1 year.
Examples
Basic info
Explore the performance of your AWS EC2 application load balancers by analyzing daily metrics. This can help you identify patterns, track changes over time, and optimize your load balancing strategy for improved efficiency and performance.
select name, metric_name, namespace, average, maximum, minimum, sample_count, timestampfrom aws_ec2_application_load_balancer_metric_request_count_dailyorder by name, timestamp;
select name, metric_name, namespace, average, maximum, minimum, sample_count, timestampfrom aws_ec2_application_load_balancer_metric_request_count_dailyorder by name, timestamp;
Intervals averaging less than 100 request count
Identify instances where the average daily request count on your AWS EC2 application load balancer is less than 100. This can help you monitor and manage your load balancer's performance and efficiency.
select name, metric_name, namespace, maximum, minimum, average sample_count, timestampfrom aws_ec2_application_load_balancer_metric_request_count_dailywhere average < 100order by name, timestamp;
select name, metric_name, namespace, maximum, minimum, average, sample_count, timestampfrom aws_ec2_application_load_balancer_metric_request_count_dailywhere average < 100order by name, timestamp;
Schema for aws_ec2_application_load_balancer_metric_request_count_daily
Name | Type | Operators | Description |
---|---|---|---|
_ctx | jsonb | Steampipe context in JSON form. | |
account_id | text | =, !=, ~~, ~~*, !~~, !~~* | The AWS Account ID in which the resource is located. |
average | double precision | The average of the metric values that correspond to the data point. | |
maximum | double precision | The maximum metric value for the data point. | |
metric_name | text | The name of the metric. | |
minimum | double precision | The minimum metric value for the data point. | |
name | text | The friendly name of the Load Balancer that was provided during resource creation. | |
namespace | text | The metric namespace. | |
partition | text | The AWS partition in which the resource is located (aws, aws-cn, or aws-us-gov). | |
region | text | The AWS Region in which the resource is located. | |
sample_count | double precision | The number of metric values that contributed to the aggregate value of this data point. | |
sp_connection_name | text | =, !=, ~~, ~~*, !~~, !~~* | Steampipe connection name. |
sp_ctx | jsonb | Steampipe context in JSON form. | |
sum | double precision | The sum of the metric values for the data point. | |
timestamp | timestamp with time zone | The time stamp used for the data point. | |
unit | text | The standard unit for the data point. |
Export
This table is available as a standalone Exporter CLI. Steampipe exporters are stand-alone binaries that allow you to extract data using Steampipe plugins without a database.
You can download the tarball for your platform from the Releases page, but it is simplest to install them with the steampipe_export_installer.sh
script:
/bin/sh -c "$(curl -fsSL https://steampipe.io/install/export.sh)" -- aws
You can pass the configuration to the command with the --config
argument:
steampipe_export_aws --config '<your_config>' aws_ec2_application_load_balancer_metric_request_count_daily