Splunk AppDynamics

Get java version via REST API?

JohnGregg
Path Finder

All,

Is there a way to get the java version via the REST API?  /applications/foo/nodes seems like the logical resource but doesn't have the java version.  It does have the machine and app agent type and version but I don't see the java version anywhere.

thanks

Labels (1)
Tags (3)
0 Karma

Kian_Malek
New Member

Hi @Nawaz Ali.Mohammad 
Would you please confirm if there is still no public API to fetch the JVM details ?
Also, is there a public API to get the application language, e.g. Java, NodeJS, PHP ?
If not, is it possible to use custom attributes to get such details?
Or can we access/execute a query through an API call?

Tags (3)
0 Karma

Nawaz_Ali_Moha1
Contributor

Hello John,

We don't have a public API to fetch the JVM details as of now. 

If you are on-prem controller and you have access to the database, you can use below SQL query to know the JVM version.

select app.name as appName, ac.name as tierName, acn.name as nodeName, ag.type as agentType,
ag.agent_version as agentVersion, ag.agent_runtime as agentRunTime
from application app
inner join application_component ac on ac.application_id = app.id
inner join application_component_node acn on acn.application_component_id = ac.id
inner join application_component_node_agent_mapping acnm on acnm.application_component_node_id=acn.id
inner join agent ag on ag.id=acnm.agent_id
inner join account a on a.id = app.account_id
where a.name='customer1'

Get Updates on the Splunk Community!

Say goodbye to manually analyzing phishing and malware threats with Splunk Attack ...

In today’s evolving threat landscape, we understand you’re constantly bombarded with phishing and malware ...

AppDynamics is now part of Splunk Ideas

Hello Splunkers, We have exciting news for you! AppDynamics has been added to the Splunk Ideas Portal. Which ...

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...