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!

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