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

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

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!

Splunk Enterprise Security: Your Command Center for PCI DSS Compliance

Every security professional knows the drill. The PCI DSS audit is approaching, and suddenly everyone's asking ...

Developer Spotlight with Guilhem Marchand

From Splunk Engineer to Founder: The Journey Behind TrackMe    After spending over 12 years working full time ...

Cisco Catalyst Center Meets Splunk ITSI: From 'Payments Are Down' to Root Cause in ...

The Problem: When Networks and Services Don't Talk Payment systems fail at a retail location. Customers are ...