All Apps and Add-ons

alert not triggering

Praz_123
Communicator

I have alert configure in Splunk and alert search query is generating the events but am not receiving any email alerts  other alerts are working fine in my environment . I have selected "send email" in alert action In splunk . 

Labels (2)
0 Karma

Praz_123
Communicator

@inventsekar 

1) is it a production environment? yes

2) the SMTP details are configured or not yet?yes

3) do you have other alerts which are sending emails?yes

4) on the search bar, when you run the sendemail command, do you get the emails?yes

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @Praz_123 

1) the alert search query.. can you pls copy paste that here (remove the ip address, hostnames, sensitive details, etc)

2) the alert trigger conditions... results equal to 0 or greater or lesser than.. screenshot.. can you share it with us, thanks

 

0 Karma

Praz_123
Communicator

@inventsekar  
search query :-

index="abc" sourcetype="abcd_logs" host="AbdP" Error OR Exception OR iisnode OR ERROR

 the alert trigger conditions...  is greater than 0,  Expires = 24 hours. Cron : */5 * * * * , Time Range : Last 30 minutes.

PS: can't share the screenshot here. 

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @Praz_123 

all looks good so far.. 

the alert trigger actions.. did you enabled the email notification and provided your email id?

0 Karma

Praz_123
Communicator

@inventsekar 

yes, when we put result = 0 it shows the result .
But if we put greater than =0 it doesn't shows the result .

0 Karma

inventsekar
SplunkTrust
SplunkTrust

Hi @Praz_123 

Pls provide us more details..

1) is it a production environment? 

2) the SMTP details are configured or not yet?

3) do you have other alerts which are sending emails?

4) on the search bar, when you run the sendemail command, do you get the emails?

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Free Professional Services for .conf26 Attendees

This year at .conf26, we are doing something a little different. We are bringing the best minds from ...

Defend at Machine Speed: Your Guide to Security Sessions at .conf26

Splunk .conf26   With threats moving at machine speed and attack surfaces expanding across hybrid ...

Where Innovation Takes Flight: The Splunk4Aviation Flight Sim Lands at .conf26

If you hear someone at .conf26 shouting "gear down, GEAR DOWN" across the show floor, you have found us.  The ...