Splunk AppDynamics

Variable to pass BT name in Email or HTTP Template

Mohit_Gupta2
Explorer

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

Labels (3)
0 Karma
1 Solution

Morelz
Builder

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

View solution in original post

iamryan
Community Manager
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...

Morelz
Builder

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

Sagar_Elluru
Engager

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

0 Karma

Mohit_Gupta2
Explorer

Hi @Mario.Morelli 

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

Thanks!!

0 Karma
Get Updates on the Splunk Community!

Advanced Splunk Data Management Strategies

Join us on Wednesday, May 14, 2025, at 11 AM PDT / 2 PM EDT for an exclusive Tech Talk that delves into ...

Uncovering Multi-Account Fraud with Splunk Banking Analytics

Last month, I met with a Senior Fraud Analyst at a nationally recognized bank to discuss their recent success ...

Secure Your Future: A Deep Dive into the Compliance and Security Enhancements for the ...

What has been announced?  In the blog, “Preparing your Splunk Environment for OpensSSL3,”we announced the ...