AppD Archive

Check JavaAgent Version

CommunityUser
Splunk Employee
Splunk Employee

Is there a way to check the Java Agent version from the client host without actually starting the agent?

I know when the agent starts it logs this information, but I'd like to be able to detrmine the version via a shell command so that I can manage agent installations via configuration management.

Tags (2)
0 Karma
1 Solution

CommunityUser
Splunk Employee
Splunk Employee

Thanks. I came up with this one liner to extract the version info:

$ unzip -p javaagent.jar META-INF/MANIFEST.MF | grep Implementation-Version | awk {'print $4, $5'}

View solution in original post

Tags (2)
0 Karma

Arun_Dasetty
Super Champion

Hi,

You could see the agent version artifact details in MANIFEST.MF file under AppServerAgent.zip/javaagent.jar/META-INF/ path Or AppServerAgent.zip/lib/appagent.jar/META-INF/ path for field "Implementation-Version" value, Hope that information helps.

You can open jar file using 7-zip as such tool.

Regards,

Arun

Tags (2)

CommunityUser
Splunk Employee
Splunk Employee

Thanks. I came up with this one liner to extract the version info:

$ unzip -p javaagent.jar META-INF/MANIFEST.MF | grep Implementation-Version | awk {'print $4, $5'}
Tags (2)
0 Karma
Get Updates on the Splunk Community!

Unlock Database Monitoring with Splunk Observability Cloud

  In today’s fast-paced digital landscape, even minor database slowdowns can disrupt user experiences and ...

Purpose in Action: How Splunk Is Helping Power an Inclusive Future for All

At Cisco, purpose isn’t a tagline—it’s a commitment. Cisco’s FY25 Purpose Report outlines how the company is ...

[Upcoming Webinar] Demo Day: Transforming IT Operations with Splunk

Join us for a live Demo Day at the Cisco Store on January 21st 10:00am - 11:00am PST In the fast-paced world ...