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!

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...

Splunk Up Your Game: Why It's Time to Embrace Python 3.9+ and OpenSSL 3.0

Did you know that for Splunk Enterprise 9.4, Python 3.9 is the default interpreter? This shift is not just a ...