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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...