Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Splunk Search for method tracing events collected by Splunk Java Agent
index=main sourcetype=splunk-java-agent name=method* | transaction appName,threadID,className,methodName startswith="method_entered" endswith="method_exited" | stats min(duration) as "Min Execution Time" max(duration) as "Max Execution Time" avg(duration) as "Avg Execution Time" count as "Total Calls" sum(duration) as "Cumulative Execution Time" by className,methodName
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.