Reporting

Sending an email on new record

apaillard
New Member

Hi,

I set a search like |dbquery "dbname" select seq,msg from table order by seq desc.
Now, for each new record I would like to create an alert that sends an email.

Anthony

Tags (1)
0 Karma

apaillard
New Member

Ok my apologies, that was actually pretty simple :
I haven't seen the choice "rises by", and it did the job !!

Anthony

0 Karma

apaillard
New Member

Hi oldest,
For my understanding it will always send email as my search will everytime returns something.
I just want sending an email when the search returns one or more results as the preview search.

Anthony

0 Karma

alacercogitatus
SplunkTrust
SplunkTrust

Since you have the search, you can create a scheduled search that has an alert condition, and then sends the email.

http://docs.splunk.com/Documentation/Splunk/latest/Alert/Scheduledsearch#Send_emails_to_a_set_of_sta...

0 Karma
Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Get the T-shirt to Prove You Survived Splunk University Bootcamp

As if Splunk University, in Las Vegas, in-person, with three days of bootcamps and labs weren’t enough, now ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...