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!

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...

Splunk AI Assistant for SPL vs. ChatGPT: Which One is Better?

In the age of AI, every tool promises to make our lives easier. From summarizing content to writing code, ...