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!

Splunk Answers Content Calendar, June Edition

Get ready for this week’s post dedicated to Splunk Dashboards! We're celebrating the power of community by ...

What You Read The Most: Splunk Lantern’s Most Popular Articles!

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

See your relevant APM services, dashboards, and alerts in one place with the updated ...

As a Splunk Observability user, you have a lot of data you have to manage, prioritize, and troubleshoot on a ...