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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...