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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...