Splunk Search

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

uagraw01
Motivator

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!

Developer Spotlight with Paul Stout

Welcome to our very first developer spotlight release series where we'll feature some awesome Splunk ...

State of Splunk Careers 2024: Maximizing Career Outcomes and the Continued Value of ...

For the past four years, Splunk has partnered with Enterprise Strategy Group to conduct a survey that gauges ...

Data-Driven Success: Splunk & Financial Services

Splunk streamlines the process of extracting insights from large volumes of data. In this fast-paced world, ...