Amazon CloudWatch Output for Telegraf
This plugin will send metrics to Amazon CloudWatch.
This plugin uses a credential chain for Authentication with the CloudWatch API endpoint. In the following order the plugin will attempt to authenticate.
- Assumed credentials via STS if
role_arnattribute is specified (source credentials are evaluated from subsequent rules)
- Explicit credentials from
- Shared profile from
- Environment Variables
- Shared Credentials
- EC2 Instance Profile
The IAM user needs only the
For this output plugin to function correctly the following variables must be configured.
The region is the Amazon region that you wish to connect to. Examples include but are not limited to:
The namespace used for AWS CloudWatch metrics.
If you have a large amount of metrics, you should consider to send statistic
values instead of raw metrics which could not only improve performance but
also save AWS API cost. If enable this flag, this plugin would parse the required
CloudWatch statistic fields
(count, min, max, and sum) and send them to CloudWatch. You could use
aggregator to calculate those fields. If not all statistic fields are available,
all fields would still be sent as raw metrics.