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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Leveraging Automated Threat Analysis Across the Splunk Ecosystem

Are you leveraging automation to its fullest potential in your threat detection strategy?Our upcoming Security ...

Can’t Make It to Boston? Stream .conf25 and Learn with Haya Husain

Boston may be buzzing this September with Splunk University and .conf25, but you don’t have to pack a bag to ...

Splunk Lantern’s Guide to The Most Popular .conf25 Sessions

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...