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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...