We are trying to pull transaction trace data using CLW commands. I am running into some issues in executing the below CLW commands.
[[email protected]]# /opt/caapm/apm-install/jre/bin/java -Xmx128M -Duser=admin -Dpassword=admin -Dhost=serverA -Dport=5001 -jar ../lib/CLWorkstation.jar get historical data from agents matching '(.*)' and metrics matching 'CPU\|Processor\s.*' between "2021-01-27 00:00:00" and "2021-01-27 11:00:00" with frequency of 600 seconds
Domain, Host, Process, AgentName, Resource, MetricName, Record Type, Period, Intended End Timestamp, Actual Start Timestamp, Actual End Timestamp, Value Count, Value Type, Integer Value, Integer Min, Integer Max, Float Value, Float Min, Float Max, String Value, Date Value
I can see data metrics in TeamCenter and WebView but when executing the CLW command, I am seeing an empty response without any data. Can you please help me in to running this command?
Release : 10.7.0
Component : APM Agents
So what looks like is happening is that you need to tweak the data that you are trying to match. I have included a link to the documentation below.
I have tried this out in my environment and got the same result that you did. What I did was tweak the agents matching and metrics matching and I started receiving data.
For testing purposes, please try this command below exactly as you see it here. The reason I put CPU into a wildcard is just to see if you get a printout of any CPU metrics. Once we find that you do indeed get some output, then we can tweak the metrics to match what you are looking for.
java -Xmx128M -jar CLWorkstation.jar get historical data from agents matching (.*) and metrics matching (.*CPU.*) between "2021-01-27 00:00:00" and "2021-01-27 11:00:00" with frequency of 600 seconds