Splunk AppDynamics

Listing of Remote Services across applications

Steve_Billingsl
Engager

Not sure this goes here... but.

We have 300+ applications which can all make calls to remote services - we are in the process of updating a particular external service and I'm trying to use AppD to determine which applications are either pointing to the new service, or are still pointing to the old service.

Manually, I would go to the Application->Remote Services and check to see on each app what is listed as a Remote Service - but what I want is a way to create a list or call an API which will provide this for me.

If there isn't a single place, I can write a script to iterate over each Application - but, I am not seeing in the API where to get the Remote Services data - does anyone have a solution for this?

Labels (1)
Tags (1)
0 Karma

Xiangning_Mao
Path Finder

Hi Steve,

Thanks for posting question to the community!

Unfortunately, you can't get results of all remote services across different applications at once from controller.

But you can get remote services from each application separately by calling our API and edit them by yourself.
Here is the URL:

https://docs.appdynamics.com/appd/21.x/21.4/en/extend-appdynamics/appdynamics-apis/application-model...

※Please refer to "GET /controller/rest/applications/application_name/backends"

And if you are using on-premise controller, you can also try to get the result from controller database directly.
Here is a query for that, please try to run it to check the result and then write it into your shell script.

mysql> select app.name as application_name, ubci.display_name as remote_service_name from application app, unresolved_backend_call_info ubci, account acc, user u where acc.id = app.account_id and app.id = ubci.application_id and acc.id = u.account_id and u.name = '<username>';

If you are using SaaS controller and you still want to get results from controller database, I'm afraid that maybe you'd better to contact the support team.

Hope this answer helps!
Best regards,

Mao

Get Updates on the Splunk Community!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...