Monitor Amazon Web Services (AWS)
This page documents an earlier version of InfluxDB OSS. InfluxDB 3 Core is the latest stable version.
Use the AWS CloudWatch Monitoring template to monitor data from Amazon Web Services (AWS), Amazon Elastic Compute Cloud (EC2), and Amazon Elastic Load Balancing (ELB) with the AWS CloudWatch Service.
The AWS CloudWatch Monitoring template includes the following:
- two dashboards:
- AWS CloudWatch NLB (Network Load Balancers) Monitoring: Displays data from the
cloudwatch_aws_network_elb measurement - AWS CloudWatch Instance Monitoring: Displays data from the
cloudwatch_aws_ec2measurement
- AWS CloudWatch NLB (Network Load Balancers) Monitoring: Displays data from the
- two buckets:
kubernetesandcloudwatch - two labels:
inputs.cloudwatch,AWS - one variable:
v.bucket - one Telegraf configuration: AWS CloudWatch input plugin
Apply the template
Use the
influxCLI to run the following command:influx apply -f https://raw.githubusercontent.com/influxdata/community-templates/master/aws_cloudwatch/aws_cloudwatch.ymlFor more information, see influx apply.
Install Telegraf on a server with network access to both the CloudWatch API and InfluxDB v2 API.
In your Telegraf configuration file (
telegraf.conf), find the following exampleinfluxdb_v2output plugins, and then replace theurlsto specify the servers to monitor:## k8s [[outputs.influxdb_v2]] urls = ["http://influxdb.monitoring:8086"] organization = "InfluxData" bucket = "kubernetes" token = "secret-token" ## cloudv2 sample [[outputs.influxdb_v2]] urls = ["$INFLUX_HOST"] token = "$INFLUX_TOKEN" organization = "$INFLUX_ORG" bucket = “cloudwatch"
View the incoming data
In the InfluxDB user interface (UI), select Dashboards in the left navigation.
Open your AWS dashboards, and then set the
v.bucketvariable to specify the bucket to query data from (kubernetesorcloudwatch).
Was this page helpful?
Thank you for your feedback!
Support and feedback
Thank you for being part of our community! We welcome and encourage your feedback and bug reports for InfluxDB and this documentation. To find support, use the following resources:
Customers with an annual or support contract can contact InfluxData Support.