Alerting

What time frame does the auto for Schedule Window cover?

ddrillic
Ultra Champion

We spoke recently about What does the Schedule Window option for an Alert mean?

@woodcock said there -

-- It (I assume auto) allows splunk to shift the actual execution of that search forward in time a bit (keeping the effective timepicker value unshifted) so that Splunk can rearrange/reorder multiple scheduled searches slightly so that they don't all happen at the same time.

So, let's say the search was scheduled for 1 p.m. and with auto it ended up running at 1:03 p.m. The search was supposed to cover 30 minutes. What would happen? which 30 minutes will be covered?

From the docs at savedsearches.conf

alt text

Tags (1)
0 Karma
1 Solution

woodcock
Esteemed Legend

The same 30 minutes that would have been covered if it had run exactly on time. That is the whole point, right? Otherwise nobody would use the feature (it would be useless).

View solution in original post

ddrillic
Ultra Champion

The logic is interesting for these two cases -

alt text

Is there a typo here - edit_search_schedule_window versus edit_search_window?

If we don't give the edit_search_schedule_window capability to anyone, all will be set to auto without the ability to change it - sounds good to me ; -)

0 Karma

woodcock
Esteemed Legend

The same 30 minutes that would have been covered if it had run exactly on time. That is the whole point, right? Otherwise nobody would use the feature (it would be useless).

ddrillic
Ultra Champion

Gorgeous @woodcock !!!

0 Karma

ddrillic
Ultra Champion

btw, what is the time window when using auto? is it 5 minutes?

0 Karma

ddrillic
Ultra Champion

And if the user doesn't have the capability, it seems that it's being set to auto.

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!

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...

Design, Compete, Win: Submit Your Best Splunk Dashboards for a .conf26 Pass

Hello Splunkers,  We’re excited to kick off a Splunk Dashboard contest! We know that dashboards are a primary ...

May 2026 Splunk Expert Sessions: Security & Observability

Level Up Your Operations: May 2026 Splunk Expert Sessions Whether you are refining your security posture or ...