Reputation: 151
I am trying to send the perfmon data such as memory, disk space, CPUtilization data points to kinesis data stream.
in order to do that I installed CW agent on the EC2 instance and created a CW log group. the log group is subscribed to the kinesis stream. I can see the metrics getting populated in the CW however I don't have a way to send these metrics to the kinesis and the logs which are pushed to the stream doesn't help in my next steps.
Is there a straight forward way to send the metrics data to kinesis? I don't want to add an extra layer of script in between. Please suggest!
Upvotes: 2
Views: 2678
Reputation: 81
Cloudwatch now supports writing to a Kinesis https://docs.aws.amazon.com/AmazonCloudWatch/latest/monitoring/CloudWatch-Metric-Streams.html. The data can then be further manipulated and shipped using a lambda with the kinesis stream as a trigger.
Upvotes: 2
Reputation: 1089
You can not directly stream CloudWatch metrics (data-points) to a Kinesis stream.
CloudWatch Logs you can, by creating a subscription filter on the LogGroup with Kinesis.
For most of the use cases involving metrics the API GetMetricData or GetMetricStatistic should be enough.
Upvotes: 1