Alerting

Trouble Scheduling Alert With Search For Specific Time Range

theironcook
Explorer

For some reason, our network goes crazy every day from 2:30 to 2:35.
I'm trying to schedule a daily alert that will perform a search from 2:30 to 2:35 and report on that data if it's bad/slow.
I've created a daily scheduled alert that "Runs every day" at 15:00.

I then tried to specify my search with an "Advanced" time range of -30min for "Earliest" and -25min for "Latest" but Splunk doesn't like this.

How can I have an alert that is run daily that will only search for the specific time range of 2:30 - 2:35?

Tags (1)
0 Karma
1 Solution

HiroshiSatoh
Champion

I was able to perform an alert. What is the problem?

Cron schedule:0 15 * * *

index=* earliest=-30m@m latest =-25m@m

alt text

View solution in original post

HiroshiSatoh
Champion

I was able to perform an alert. What is the problem?

Cron schedule:0 15 * * *

index=* earliest=-30m@m latest =-25m@m

alt text

theironcook
Explorer

Thank you Hiroshi,
Yes, if I use the chron syntax everything works well. The issue was when I tried to use the "Run every day of the week" option and specify a time.
But the chron syntax works perfectly. Thank you.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...