AppD Archive

Import Business Transactions

CommunityUser
Splunk Employee
Splunk Employee

Hi,

according to this documentation it is possible to export all Business Transactions of an application.
I can not find a documentation how to import Business Transactions to an application.


I am asking because we are running our application in an test environment and discovered all BTs and rename them. Now we want to export all BTs and import them to our Live environments.


Is this possible? We rename more than 200 BTs...so we don't want to rename them again in each environment (and we have quiet a view). If an import is not possible, is there another way to do that?

Regards,

Thomas

0 Karma

CommunityUser
Splunk Employee
Splunk Employee
0 Karma

CommunityUser
Splunk Employee
Splunk Employee

That is not exacly what I mean.

If I export BTs, I get something like that:

<business-transaction>
<id>1082</id>
<name>MY OWN NAME</name>
<entryPointType>SERVLET</entryPointType>
<internalName>/path/to/page.jsp</internalName>
<tierId>94</tierId>
<tierName>TIERNAME</tierName>
<background>false</background>
</business-transaction>

In AppD of my test environment I rename 200 BTs like this:
/path/to/page.jsp --> MY OWN NAME
 
Now, in AppD of my live environment I do not want to rename all again.
I want to import this BTs. I can addapt tierID and tierName to the controller of the live environment but there is no REST API to import the BTs.
 
Regards,
Thomas

0 Karma

Arun_Dasetty
Super Champion

Hi Thomas,

 

We see the internal name is customized name and not custom rules so the only way to export and import the BT name renamed in "business transactions" screen in app1 is to export using application dashboard -> Actions -> export option 

as referred in below screenshot 

image.png

But using app exported xml you cannot import to already existing application in target controller UI. Hope that clarifies.

With that said custom names given to alrady discovered rules in BT grid cannot be imported in existing application,

 

Regards,

Arun

0 Karma

CommunityUser
Splunk Employee
Splunk Employee

Can you just manually the existing applications xml?

0 Karma

Arun_Dasetty
Super Champion

Hi Kevin,

Yes we can use point the exported app xml downloaded using "export application" and then use the xml to import using "import" application option in application actions menu, is that what you are looking for?

We can import manually using post request for partial data as stated in below docs but to import entire application config xml we need import manually pointing to Application.xml resulted using export app option

https://docs.appdynamics.com/display/PRO41/Import+and+Export+Transaction+Detection+Configuration

0 Karma
Get Updates on the Splunk Community!

See just what you’ve been missing | Observability tracks at Splunk University

Looking to sharpen your observability skills so you can better understand how to collect and analyze data from ...

Weezer at .conf25? Say it ain’t so!

Hello Splunkers, The countdown to .conf25 is on-and we've just turned up the volume! We're thrilled to ...

How SC4S Makes Suricata Logs Ingestion Simple

Network security monitoring has become increasingly critical for organizations of all sizes. Splunk has ...