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!

Index This | What is broken 80% of the time by February?

December 2025 Edition   Hayyy Splunk Education Enthusiasts and the Eternally Curious!    We’re back with this ...

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...