You should be able to perform something similar to below. Of course your regex will differ but this should get you what you need.
Syntax
get historical data from agents matching [REGULAR EXPRESSION] and metrics matching [REGULAR EXPRESSION] between [EXACT MATCH] and [EXACT MATCH] with frequency of [EXACT MATCH] (second|seconds|sec|secs|s)
Example
get historical data from agents matching (.*weblogic.*) and metrics matching (Servlets:Responses Per Interval) between \"2011-10-12 00:00:00\" and \"2011-10-12 00:10:00\" with frequency of 60 seconds
CLW Command Reference - CA Application Performance Management - 10.5 - CA Technologies Documentation