Skip to content

appd get-business-transactions

Get business transactions for a given application

Description

Get business transactions for a given application

Synopsis

appd get-business-transactions
    [--site <site>]
    [--cluster <cluster>]
    <application>

Arguments

site - (string)

     Site where this command will be executed
     Example: --site "site-1"
     Default: input.site      Attributes: optional

cluster - (string)

     Name of elastic search cluster
     Example: --cluster "appdynamics-default"
     Default: appdynamics-default      Attributes: optional

application - (string)

     application name or ID
     Example: "app-1"
     Default: _None_      Attributes: required

Examples

Input:

x = ! appd get-business-transactions "bookinfo"
Output:
[
  {
    "internalName": "/productpage",
    "tierId": 939727,
    "entryPointType": "PYTHON_WEB",
    "background": false,
    "tierName": "productpage",
    "name": "/productpage",
    "id": 94244,
    "entryPointTypeString": "PYTHON_WEB"
  },
  {
    "internalName": "_APPDYNAMICS_DEFAULT_TX_",
    "tierId": 939711,
    "entryPointType": "POJO",
    "background": false,
    "tierName": "reviews",
    "name": "_APPDYNAMICS_DEFAULT_TX_",
    "id": 94245,
    "entryPointTypeString": "POJO"
  },
  {
    "internalName": "/login",
    "tierId": 939727,
    "entryPointType": "PYTHON_WEB",
    "background": false,
    "tierName": "productpage",
    "name": "/login",
    "id": 94247,
    "entryPointTypeString": "PYTHON_WEB"
  },
  {
    "internalName": "_APPDYNAMICS_DEFAULT_TX_",
    "tierId": 939727,
    "entryPointType": "PYTHON_WEB",
    "background": false,
    "tierName": "productpage",
    "name": "_APPDYNAMICS_DEFAULT_TX_",
    "id": 94273,
    "entryPointTypeString": "PYTHON_WEB"
  },
  {
    "internalName": "/logout",
    "tierId": 939727,
    "entryPointType": "PYTHON_WEB",
    "background": false,
    "tierName": "productpage",
    "name": "/logout",
    "id": 94723,
    "entryPointTypeString": "PYTHON_WEB"
  }
]
Input:
x = ! appd get-business-transactions "bookinfo"
Output:
ID      NAME                        ENTRY-POINT-TYPE    INTERNAL-NAME               TIER-ID TIER        BACKGROUND 
94244   /productpage                PYTHON_WEB          /productpage                 939727 productpage false       
94245   _APPDYNAMICS_DEFAULT_TX_    POJO                _APPDYNAMICS_DEFAULT_TX_     939711 reviews     false       
94247   /login                      PYTHON_WEB          /login                       939727 productpage false       
94273   _APPDYNAMICS_DEFAULT_TX_    PYTHON_WEB          _APPDYNAMICS_DEFAULT_TX_     939727 productpage false       
94723   /logout                     PYTHON_WEB          /logout                      939727 productpage false     

Access Control

To use this command, you need access to the following:

Field Value
Action "read"
Service Type "appd"
Service Instance cluster
Namespace
Object Type "application"
Object ID application

Please see Access Control for details.