Splunk AppDynamics

Export Service Endpoint Rules and Scopes Configuration Import and Export API

Mattias_Wessman
Explorer

By reading https://docs.appdynamics.com/display/PRO45/Configuration+Import+and+Export+API I found out how to export and import various types of configuration - but what about rules for service endpoints and scopes? How do I go about to export and import those?

Thanks,

Mattias

Labels (3)
0 Karma
1 Solution

Morelz
Motivator

Hi Mattias

You can use the following endpoint as a start to query the scope within an application

https://<controller url>/controller/restui/transactionConfigProto/getScopes/<applicationid>

It will give you and output of the scope definition

Then you use the following endpoint to create it in another application

https://<controller URL>/controller/restui/transactionConfigProto/createScope?applicationId=<application ID>

However AppD has already created a tool to do this for you, just log a call to AppD Support and ask for a tool called Config Exporter. They will give you a version of the tool depending on your controller.

This tool has a UI, which you can add your Controller/s and then migrate settings, including the scopes etc.

Ciao

View solution in original post

Morelz
Motivator

Hi Mattias

You can use the following endpoint as a start to query the scope within an application

https://<controller url>/controller/restui/transactionConfigProto/getScopes/<applicationid>

It will give you and output of the scope definition

Then you use the following endpoint to create it in another application

https://<controller URL>/controller/restui/transactionConfigProto/createScope?applicationId=<application ID>

However AppD has already created a tool to do this for you, just log a call to AppD Support and ask for a tool called Config Exporter. They will give you a version of the tool depending on your controller.

This tool has a UI, which you can add your Controller/s and then migrate settings, including the scopes etc.

Ciao

Mattias_Wessman
Explorer

Thanks!

Got hold of Config Exporter - and I'm able to export/import everything except for custom service endpoints (ASP_DOTNET). They just don't show up in config exporter - however a list of tiers that holds custom service endpoints shows up with a green check mark, but can't proceed when highlighting any of them. When exporting all configuration for my application ServiceEndpointDefinition's are there - but just doesn't show up in config exporter.

image.png

image.png

Any ideas?

Thanks,

Mattias

0 Karma

Mattias_Wessman
Explorer

Found out that service endpoints are exported/imported tier by tier - therefore I had to select a tier in config exporter -> click SERVICE END POINTS in left pane and then custom service endpoints were listed fine!

Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...