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
Get Updates on the Splunk Community!

Splunk APM: New Product Features + Community Office Hours Recap!

Howdy Splunk Community! Over the past few months, we’ve had a lot going on in the world of Splunk Application ...

Index This | Forward, I’m heavy; backward, I’m not. What am I?

April 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

A Guide To Cloud Migration Success

As enterprises’ rapid expansion to the cloud continues, IT leaders are continuously looking for ways to focus ...