cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Variable to pass BT name in Email or HTTP Template

Mohit.Gupta
Maker

Hi Folks,

 

Looking for a variable which can be used to pass business transaction name in Email or HTTP request template similar to below.

 

${latestEvent.node.name} - For Node Name

 

Regards,

Mohit

4 REPLIES 4

Mario.Morelli
Architect

Hi Mohit

 

You can use the affected entities as below, as multiple entities can be triggered by a health rule, you can use the index to pull certain ones, depending on your health rule setup

${latestEvent.affectedEntities[0].name}

${latestEvent.affectedEntities.name}

 

 

Ciao



Found something helpful? Click the Accept as Solution button to help others find answers faster.
Liked something? Click the Thumbs Up button.

Learn more about me in the Community Member Spotlight Q & A

Hi @Mario.Morelli 

 

${latestEvent.affectedEntities[0].name}, worked for me.

 

Thanks!!

Just wondering, if there is any variable name to pass synthetic job name to email using templating variable. Please advise. 

Ryan.Paredez
Community Manager

Hi @Sagar.Elluru,

Since this post is over a year old, it's unlikely to get a response from the members on this thread. I found this AppD Docs page that might help. Please check it out.

https://docs.appdynamics.com/appd/23.x/latest/en/appdynamics-essentials/alert-and-respond/actions/pr...

 


Thanks,

Ryan, Cisco AppDynamics Community Manager




Found something helpful? Click the Accept as Solution button to help others find answers faster.

Liked something? Click the Thumbs Up button.



Check out Observabiity in Action

new deep dive videos weekly in the Knowledge Base.