Need help to execute CLW Commands - trace transactions

book

Article ID: 207825

calendar_today

Updated On:

Products

CA Application Performance Management Agent (APM / Wily / Introscope)

Issue/Introduction

Please share some samples for the below CLW commands.

trace transactions where (userid|url|url query|sessionid) (equals|not equals|contains|not contains|starts with|ends with) [EXACT MATCH] in agents matching [REGULAR EXPRESSION] for [EXACT MATCH] (second|seconds|sec|secs|s)

Environment

Release : 10.7.0

Component : Integration with APM

Resolution

When you run the below command, you must ensure your application is being exercised (used) as this will do a real-time trace.  If that part of the application is not exercised, then no trace will be taken.

C:\Introscope10.7.0.197\lib>java -Xmx128M -jar CLWorkstation.jar trace transactions where url contains "examples" in agents matching (.*Tomcat.*) for 120 seconds
Writing Transaction Trace Data to C:\Introscope10.7.0.197\lib\TransactionTraceData-20210127130439.xml

https://techdocs.broadcom.com/us/en/ca-enterprise-software/it-operations-management/application-performance-management/10-7/using/apm-command-line-workstation/clw-command-reference.html