Amazon CloudWatch

Amazon CloudWatch Statistics Telegraf Input Plugin

Amazon CloudWatch, also known as CloudWatch, is a monitoring and observability service from Amazon Web Services used by DevOps engineers, site reliability engineers (SREs), developers, and system administrators. CloudWatch can pull metrics from S3, VPC, DynamoDB and 83 other AWS services so CloudWatch customers can monitor their applications and cloud resources running on AWS. Users can discover detailed insights from the metrics they receive.

Why use the Amazon CloudWatch Statistics Telegraf Input Plugin to monitor AWS services?

Using the Amazon CloudWatch Statistics Telegraf Input Plugin, you can bring all your metrics from over 85 AWS services to your instance of InfluxDB. With the use of the other Telegraf plugins, the client libraries, and the third party collectors like Fluentd, you can bring metrics from your entire stack into one instance of InfluxDB and build dashboards to have that true single pane of glass. In addition, once your metric and event data is in InfluxDB, there are many options to transform that data to fit your particular use case. It is a much more flexible option that many companies, like MuleSoft, have been able to take advantage of to power their monitoring and diagnostic solutions to provide end-to-end actionable visibility to APIs and integrations in order to help customers identify and resolve issues quickly.

How to use the Amazon CloudWatch Telegraf Input Plugin

This plugin uses a credential chain for authentication with the CloudWatch API endpoint. In the following order, the plugin will attempt to authenticate. Plugin configuration utilizes CloudWatch concepts and access patterns to allow monitoring of any CloudWatch metric.

  • region must be a valid AWS Region value
  • period must be a valid CloudWatch Period value
  • namespace must be a valid CloudWatch Namespace value
  • names must be valid CloudWatch Metric names
  • dimensions must be valid CloudWatch Dimension name/value pairs

Omitting or specifying a value of ‘*’for a dimension value configures all available metrics that contain a dimension with the specified name to be retrieved. If specifying >1 dimension, then the metric must contain all the configured dimensions where the value of the wildcard dimension is ignored.

CloudWatch metrics are not available instantly via the CloudWatch API. You should adjust your collection delay to account for this lag in metrics availability based on your monitoring subscription level. CloudWatch API usage incurs cost — see GetMetricData Pricing.

Key Amazon CloudWatch statistics metrics to use for monitoring

Some of the important Amazon CloudWatch services can put metrics into your InfluxDB solution — such as Amazon EC2, Amazon DynamoDB, Amazon S3, Amazon ECS, AWS Lambda, and Amazon API Gateway — without any action on your part. Other services that you can pull metrics from include:

  • Application Insights for .NET and SQL Server applications
  • Container monitoring insights for Amazon Elastic Container Service for Kubernetes (EKS), Amazon Elastic Container Service (ECS), AWS Fargate, and Kubernetes clusters by pods/tasks, containers, and services
  • Amazon API Gateway
  • AppStream 2.0
  • AWS AppSync
  • Amazon Athena
  • AWS Billing and Cost Management
  • ACM Private CA
  • AWS Chatbot
  • Amazon CloudFront
  • AWS CloudHSM
  • Amazon CloudSearch
  • Amazon CloudWatch Logs
  • AWS/Logs
  • AWS CodeBuild
  • Amazon Cognito
  • Amazon Connect
  • AWS DataSync
  • AWS Database Migration Service
  • AWS Direct Connect
  • Amazon DocumentDB
  • Amazon DynamoDB
  • Amazon EC2
  • Amazon EC2 Elastic Graphics
  • Amazon EC2 Spot Fleet
  • Amazon EC2 Auto Scaling
  • AWS Elastic Beanstalk
  • Amazon Elastic Block Store
  • Amazon Elastic Container Service
  • Amazon Elastic File System
  • Amazon Elastic Inference
  • Elastic Load Balancing
  • Amazon Elastic Transcoder
  • Amazon ElastiCache for Memcached
  • Amazon ElastiCache for Redis
  • Amazon Elasticsearch Service
  • Amazon EMR
  • AWS Elemental MediaConnect
  • AWS Elemental MediaConvert
  • AWS Elemental MediaPackage
  • AWS Elemental MediaStore
  • AWS Elemental MediaTailor
  • Amazon EventBridge
  • Amazon FSx for Lustre
  • Amazon FSx for Windows File Server
  • Amazon GameLift
  • AWS Glue
  • AWS Ground Station
  • Amazon Inspector
  • Amazon Interactive Video Service (IVS)
  • AWS IoT
  • AWS IoT Analytics
  • AWS IoT SiteWise
  • AWS IoT Things Graph
  • AWS Key Management Service
  • Amazon Keyspaces (for Apache Cassandra)
  • Amazon Kinesis Data Analytics
  • Amazon Kinesis Data Firehose
  • Amazon Kinesis Data Streams
  • Amazon Kinesis Video Streams
  • AWS Lambda
  • Amazon Lex
  • Amazon Machine Learning
  • Amazon Managed Streaming for Apache Kafka
  • Amazon MQ
  • Amazon Neptune
  • AWS OpsWorks
  • Amazon Polly
  • Amazon QLDB
  • Amazon Redshift
  • Amazon Relational Database Service
  • AWS RoboMaker
  • Amazon Route 53
  • Amazon SageMaker
  • AWS SDK Metrics for Enterprise Support
  • AWS Service Catalog
  • AWS Shield Advanced
  • Amazon Simple Email Service
  • Amazon Simple Notification Service
  • Amazon Simple Queue Service
  • Amazon Simple Storage Service (S3)
  • Amazon Simple Workflow Service
  • AWS Step Functions
  • AWS Storage Gateway
  • AWS Systems Manager Run Command
  • Amazon Textract
  • AWS Transfer for SFTP
  • Amazon Translate
  • AWS Trusted Advisor
  • Amazon VPC
  • AWS/NATGateway
  • Amazon WorkMail
  • Amazon WorkSpaces

For more information, please check out the documentation.

Project URL   Documentation

Related resources

AWS CloudWatch Telegraf Output Plugin

Learn how you can use this output plugin to bring metrics to your CloudWatch instance.

Customer Case Study: Mulesoft

Learn how MuleSoft uses InfluxDB Cloud to help power its monitoring and diagnostic solutions.

AWS CloudWatch InfluxDB Template

Get started with your own AWS Cloudwatch monitoring solutions with this template.

Scroll to Top