Splunk AppDynamics

How can I get the Database application IDs

CommunityUser
Splunk Employee
Splunk Employee

Hi,

I have a DB Monitoring enabled and some HRV configured, so when I view the details of a violation, I can see in the URL an Application ID which is not any of my Applications... If I try to get the HRVs for this unknown application ID through the REST API, it is succesfully returning the violations for my database.

How can I get the application IDs for each of my databases other than manually expecting the URL in the browser for each of them?

The rest calls I am using are:

/controller/rest/applications/458/problems/healthrule-violations?time-range-type=BEFORE_NOW&duration-in-mins=3600

But if I try:

/controller/rest/applications

I don't see application with id 458

Labels (3)
Tags (1)
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Hi @Anonymous

We thought the new REST API released in version 4.5.4 might be of your interest. Using this API you can fetch the list of your monitored Database Servers and their details.

 

Product Update, November 2018 (v4.5.4) provides complete information on what's new in v4.5.4. 

Hope it helps.

CommunityUser
Splunk Employee
Splunk Employee
Hi,
Thanks for the message and bringing my attention to this updated API. I will definitely review and get use of it!

Lyubo

CommunityUser
Splunk Employee
Splunk Employee

So... it seems I figured out this one as well, but if someone can confirm it would be nice:

It seems like the application Id wich I see in the URL is not different for every application but that is actually the id of the internal "Database Monitoring" application. Meaning that I can get HRVs from the API for all the databases with a single request against the "Database Monitoring" app or its internal ID.

Yogesh_Chouk
Builder

Hi,

Yes, that is correct. Database Monitoring is itself an application. As you already checked the Database Monitoring application id, you can use it to retrieve HR violations.

Please follow docs for more information.

https://docs.appdynamics.com/display/PRO43/Alert+and+Respond+API#AlertandRespondAPI-RetrieveAllHealt...

Thanks,

Yogesh

CommunityUser
Splunk Employee
Splunk Employee

So how do I find out what this magic application ID is?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...