All Apps and Add-ons

JVM Instrumentation Agent: What is the purpose of SplunkClassFileTransformer and its functionality?

shirbal
Engager

I am trying to understand the need for SplunkClassFileTransformer class and its functionality. Can someone explain me the usage / purpose of SplunkClassFileTransformer?
I am not sure I understand the need for it

0 Karma

Damien_Dallimor
Ultra Champion

shirbal
Engager

But why do we need to transform the classes?

0 Karma

Damien_Dallimor
Ultra Champion

To add tracing instructions into your code AFTER it has been compiled into bytecode :
http://www.correlsense.com/java-bytecode-instrumentation-an-introduction/

0 Karma
Get Updates on the Splunk Community!

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...