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!

CX Day is Coming!

Customer Experience (CX) Day is on October 7th!! We're so excited to bring back another day full of wonderful ...

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...