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!

Index This | What travels the world but is also stuck in place?

April 2026 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Discover New Use Cases: Unlock Greater Value from Your Existing Splunk Data

Realizing the full potential of your Splunk investment requires more than just understanding current usage; it ...

Continue Your Journey: Join Session 2 of the Data Management and Federation Bootcamp ...

As data volumes continue to grow and environments become more distributed, managing and optimizing data ...