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!

Admin Your Splunk Cloud, Your Way

Join us to maximize different techniques to best tune Splunk Cloud. In this Tech Enablement, you will get ...

Cloud Platform | Discontinuing support for TLS version 1.0 and 1.1

Overview Transport Layer Security (TLS) is a security communications protocol that lets two computers, ...

New Customer Testimonials

Enterprises of all sizes and across different industries are accelerating cloud adoption by migrating ...