Splunk Search

How to send reports to email addresses in the query results?

uagraw01
Builder

Hello Splunkers!!

As per the below results. I want to send individual report to each manager on their email id. Likewise I have more than 50+ managers And i have to send individual reports on their individual email id. Please guide me how can I achieve this.

Managerpassfailemail
abc8020abc@gmail.com
xyz7030xyz@gmail.com
nbq6040nbq@gmail.com
Labels (1)
0 Karma

johnhuang
Motivator
  • To send a separate email for each of the results, make sure you set "Trigger: For each result" in your alert configuration.
  • To send the email to a recipient defined by a field value in your report, you can configure the the "To:" address to $result.<field_name>$, e.g. in your case it should be $result.email$

johnhua_0-1665497694331.png

 

0 Karma
Get Updates on the Splunk Community!

Splunk Observability Cloud | Unified Identity - Now Available for Existing Splunk ...

Raise your hand if you’ve already forgotten your username or password when logging into an account. (We can’t ...

Index This | How many sides does a circle have?

February 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

Registration for Splunk University is Now Open!

Are you ready for an adventure in learning?   Brace yourselves because Splunk University is back, and it's ...