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

Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...