Amazon CloudWatch Statistics Telegraf Input Plugin
Use This InfluxDB Integration for FreeAmazon 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 over 70 other AWS services so CloudWatch customers can monitor their applications and cloud resources running on AWS and on-premises. Users can pull out detailed insights from the metrics they receive, as well as set alarms and troubleshoot.
Why use the Amazon CloudWatch Statistics Telegraf Input Plugin?
The Amazon CloudWatch Statistics Telegraf Input Plugin lets you bring all your metrics from any number of AWS services into InfluxDB. Storing this detailed information makes it simple to monitor your application and troubleshoot problems. You can also use other Telegraf plugins, client libraries, and third party collectors, like Fluentd, to bring metrics from your entire stack into one instance of InfluxDB and build dashboards to have a single view of the status of your applications.
How to monitor Amazon CloudWatch using the Telegraf plugin
This plugin uses a credential chain for authentication with the CloudWatch API endpoint. It also uses CloudWatch concepts and access patterns so you can monitor any CloudWatch metric.
To retrieve metric statistics you need to define all dimensions for metric names. You can also omit a dimension value or use a wildcard to retrieve all available metrics that contain a dimension with the specified name.
CloudWatch metrics aren't 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
- AWS/EFS
- 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
- AWS/VPN
- AWS WAF
- Amazon WorkMail
- Amazon WorkSpaces
Related resources
InfluxDB and AWS - Scale your cloud infrastructure and time series analytics
- AWS Marketplace Seller
- AWS Data & Analytics Competency