Setup
CloudWatch Agent running on an EC2 instance reports audit logs to CloudWatch. Metric Filter in CloudWatch creates metrics for successful logins, failed logins, ect... when logs are reported.
Problem
Metrics created through the Metric Filter does not assign dimensions so I cant query CloudWatch to get a set of metric statistics by InstanceId. This would be extremely useful because I want to know the audit metrics per machine not per log group.
Comments
Attaching dimensions is pretty easy using the put-metric-data
command. I am able to tag the metrics with the dimension for InstanceId and then retrieve only those metrics using get-metric-statistics
. Is this kind of functionality not possible using the Metric Filters + CloudWatch Agent setup? What would be a possible workaround?
PHP OOP Introduction
RépondreSupprimerhow to add multiple markers on google maps javascript
Python program to convert celsius to fahrenheit
Display emoji unicode characters in php
Export data from MySQL table to CSV file using PHP