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!

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas

Why Splunk Customers Should Attend Cisco Live 2026 Las Vegas     Cisco Live 2026 is almost here, and this ...

What Is the Name of the USB Key Inserted by Bob Smith? (BOTS Hint, Not the Answer)

Hello Splunkers,   So you searched, “what is the name of the usb key inserted by bob smith?”  Not gonna lie… ...

Automating Threat Operations and Threat Hunting with Recorded Future

    Automating Threat Operations and Threat Hunting with Recorded Future June 29, 2026 | Register   Is your ...