Alerting

Alert schedule -- not on the hour

tirednboreditwo
Engager

Is it only possible to schedule alerts 'on the hour' i.e. at 12pm, 1pm.. etc ? I'd like to use precise timing like 2:15pm , 2:37pm etc , but am not able to do so. On the 'Edit Alert' page, for 'Schedule on' input , I only see round hours for time .

The reason behind requiring precise timings is a long-detailed explanation to list here; suffice it to say that the interesting events I want to monitor are expected within few minutes of each other (generally 2-10 minutes) in a specific order. So granularity of an hour is not sufficient. I don't need precision to a second, but a minute would be required.

So should be able to setup alerts like,
Alert 1 - check at 12:30
Alert 2 - check at 12:35
Alert 3 - check at 12:38

Tags (1)
1 Solution

ecambra_splunk
Splunk Employee
Splunk Employee

You should be able to select a cron schedule. This format will give you the flexibility you need.

For reference: http://en.wikipedia.org/wiki/Cron
http://docs.splunk.com/Documentation/Splunk/6.0.3/Alert/Definescheduledalerts#Schedule_the_alert

View solution in original post

christopher_hod
Path Finder

If you choose a schedule type of "cron" you can give it more complex patterns. For example, if you wanted the report to run once per hour at 17 minutes after the hour, then choose "cron" and use this string:

17 * * * *

If you wanted it to run every 15 minutes:

*/15 * * * *
0 Karma

tirednboreditwo
Engager

ecambra_splunk's answer (Cron scheduling) does what I need... I was hoping this was available through UI though. Wonder what's the motive of not just giving that option..

0 Karma

ecambra_splunk
Splunk Employee
Splunk Employee

You should be able to select a cron schedule. This format will give you the flexibility you need.

For reference: http://en.wikipedia.org/wiki/Cron
http://docs.splunk.com/Documentation/Splunk/6.0.3/Alert/Definescheduledalerts#Schedule_the_alert

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!

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 ...

Unlock What’s Next: The Splunk Cloud Platform at .conf25

In just a few days, Boston will be buzzing as the Splunk team and thousands of community members come together ...