cloudwatch; this new high performance CloudWatch plugin is called
cloudwatch_logsto prevent conflicts/confusion. Check the amazon repo for the Golang plugin for details on the deprecation/migration plan for the original plugin.
workerswhich enables outputs to have dedicated threads. This
cloudwatch_logsplugin has partial support for workers. The plugin can support a single worker; enabling multiple workers will lead to errors/indeterminate behavior.
cloudwatch_logsoutput plugin can be used to send these host metrics to CloudWatch in Embedded Metric Format (EMF). If data comes from any of the above mentioned input plugins,
cloudwatch_logsoutput plugin will convert them to EMF format and sent to CloudWatch as JSON log. Additionally, if we set
json/emfas the value of
log_formatconfig option, CloudWatch will extract custom metrics from embedded JSON payload.
memmetrics can be sent to CloudWatch.
meminput plugin and sending memory usage metrics to CloudWatch, we can consider the following example config file. Here, we use the
awsfilter which adds
az(availability zone) to the log records. Later, in the output config section, we set
ec2_instance_idas our metric dimension.