Splunk Search

One alert but two different timings based on the output of the first alert

prettysunshinez
Explorer

Hi,

I need your help in knowing if it is possible to have an alert that triggers at 1 PM everyday and if the search result is zero,the same alert should be triggered at 4PM.But if the search result is not zero,then the alert at 4PM shouldnt run.

Thanks in advance 

0 Karma
1 Solution

s2_splunk
Splunk Employee
Splunk Employee

An alert triggers based on the conditions in an alerting search. You could create two distinct searches, where the 1pm stores a flag (1pmResults=true/false) in a lookup file and utilize that lookup file to determine whether the 4pm search is meeting alert conditions. The 4pm search will still run, but doesn't necessarily have to alert. 

View solution in original post

0 Karma

s2_splunk
Splunk Employee
Splunk Employee

An alert triggers based on the conditions in an alerting search. You could create two distinct searches, where the 1pm stores a flag (1pmResults=true/false) in a lookup file and utilize that lookup file to determine whether the 4pm search is meeting alert conditions. The 4pm search will still run, but doesn't necessarily have to alert. 

0 Karma
Get Updates on the Splunk Community!

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...

What’s New in Splunk Observability – September 2025

What's NewWe are excited to announce the latest enhancements to Splunk Observability, designed to help ITOps ...

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...