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!

Stay Connected: Your Guide to July Tech Talks, Office Hours, and Webinars!

What are Community Office Hours?Community Office Hours is an interactive 60-minute Zoom series where ...

Updated Data Type Articles, Anniversary Celebrations, and More on Splunk Lantern

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

A Prelude to .conf25: Your Guide to Splunk University

Heading to Boston this September for .conf25? Get a jumpstart by arriving a few days early for Splunk ...