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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...