'Query for fetching instance level metric for autoscaling group in cloudwatch

I am trying to write the query for fetching instance level metrics like mem_used_percent for a particular autoscaling group in cloudwatch dashboards. Is this possible via query? I don't want to manually select the instances annd hardcode the id's as this is an autoscaling group. While writing query, I see only aggregate metrics in the queries like SUM, MAX, MIN, COUNT, AVG etc. Can you connfirm if this is possible



Solution 1:[1]

You can do it using the metrics explorer: enter image description here

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Floh