Today I use the following command line in CLW to recover the ART frontend of all agents in a particular domain at management module and it works well.
CLWorkstation.jar get historical data from agents matching \"CSBR|.*\" and metrics matching \"Frontends\|Apps\|Customer Service:Average Response Time.*\" between \"2014-02-14 00:00:00\" and \"2015-02-21 00:00:00\" with frequency of 43200 sec
Now I want to automate this task, informing as parameter only domain and date.
The point is that the metric name changes in every domain at management module. So I need that the regular expression must be independent.
Ex.:
Frontends|Apps|Customer Service:Average Response Time
Constant Variable Constant
I also need to know how to write an expression where the result is all the the metrics that NOT contains a specific string.
I didn't found any references or manual about how to write regular expressions for CLW