Alerting

Created a new correlation search in ES. But sometimes the mail is not delivered to the mentioned mailid

RanjiRaje
Explorer

Hi, I have a correlation search created in Enterprise security. Scheduled as below.

Mode: guided

Time range> Earliest: -24h, Latest: Now, Cron: 0 03 * * *, scheduling: realtime, schedule window: auto, priority: auto

Trigger alert when greater than 0

Throttling > window duration: 0

Response action > To:mymailid, priority: normal, Include: Link to alert, link to result, trigger condition, attach csv, Trigger time


In this case, mail is not getting delivered regularly. If I try executing the same SPL query in search, it showing more than 300 rows result

Labels (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Confirm the alerts are firing

| rest splunk_server=local /serviceNS/-/-/alerts/fired_alerts

Check the _internal index for errors sending alerts to your email provider.

index=_internal "sendemail"

Check with your email provider/admin to see what is happening to the alerts before they get your mailbox.  As always, check your Spam folder.

---
If this reply helps you, Karma would be appreciated.
0 Karma

RanjiRaje
Explorer

Hi Sir, thanks for your valuable suggestions. I tried the below SPL 

index=_internal "sendemail"

I received 1 event with details like "Sending email" (As I said already, I received an alert mail to my mailbox once and after that it stopped sending mail). 

 

0 Karma

RanjiRaje
Explorer

Continuation... as I said, received mail once but later then, stopped receiving mail. Please help me on this further. Thanks

0 Karma

richgalloway
SplunkTrust
SplunkTrust

If there are no errors in the Splunk logs relating to sending email then there must be something happening to the messages after they leave Splunk.  Check your Spam folder and any automatic actions you may have.

Have you confirmed the alerts are firing?

---
If this reply helps you, Karma would be appreciated.
0 Karma

gcusello
SplunkTrust
SplunkTrust

Hi @RanjiRaje ,

don't use scheduling real time.

Ciao.

Giuseppe

0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...