Alerting

Sending email to Multiple users

rsathish47
Contributor

Hi

I need to search data in splunk for more then 15 different users and have to send each user's results(table or chart) to other set of users and it needs to be run every day. is it possible to implement in splunk search ? if so can please provide me idea and sample example. Thanks in advance

Thanks

Sathish R

0 Karma

jtrucks
Splunk Employee
Splunk Employee

You must, in this case, use a script to send your mail. Set the alert action to run a script and have a script parse the results to determine what data to send to which email addresses.

--
Jesse Trucks
Minister of Magic

MuS
Legend

rsathish47, examples are provided here http://docs.splunk.com/Documentation/Splunk/6.0/alert/ConfiguringScriptedAlerts just read the page and create your script that will meet your system OS flavor in regards of 'how to send an email from this server'.

0 Karma

rsathish47
Contributor

if you have any smple example Pls post it Thanks in advance

0 Karma

rsathish47
Contributor

Thanks for the reply.. I will check this..

0 Karma

MuS
Legend

adding just a bit more details to this perfect answer; take a look at this http://answers.splunk.com/answers/112040/splunk-alerting-via-email-search-result-defines-who-gets-em...

rsathish47
Contributor

yes, search will determine the recipient list

0 Karma

lukejadamec
Super Champion

So, you want to have the search determine who gets the email?

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...