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!

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

 Are you ready to revolutionize your IT operations? As digital transformation accelerates, the demand for ...

Calling All Security Pros: Ready to Race Through Boston?

Hey Splunkers, .conf25 is heading to Boston and we’re kicking things off with something bold, competitive, and ...

Beyond Detection: How Splunk and Cisco Integrated Security Platforms Transform ...

Financial services organizations face an impossible equation: maintain 99.9% uptime for mission-critical ...