Reporting

How do I send an email to a user dynamically using adaptive response?

SunilMaharishi
Path Finder

Hello Team ,

i have written a query and mapped using a lookup table to get the email ID of a user. i am trying to send an email to this user dynamically using adaptive response to send the email.

I would like to use :- $result.Email$ , but it is not sending the email to the user .

However, if in the search i use sendemail and send email, it gets delivered to user correctly

is there any thing missing while sending dynamic email notification in notable events ?

0 Karma

gjanders
SplunkTrust
SplunkTrust

Normally I'd recommend sendresults for this task, but it might not work well with an adaptive response..., so I'm adding this as a comment and not an answer.

0 Karma

thambisetty
SplunkTrust
SplunkTrust

I have created an alert action and this will pass script name and results generated from search. Script is written in python which will use results to send email notification to users dynamically with custom html body.

————————————
If this helps, give a like below.
0 Karma
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!

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 ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...