Alerting

Cron expression for splunk DB connect

dkgs
Communicator

Hi,

I want the query in db connect to execute everyday between 8PM and 11 PM for every 2 minutes. Please help with the cron expression to be provided in the db connect

Labels (3)
0 Karma
1 Solution

willemjongeneel
Communicator

Hello,

I think the following cron will do: 

*/2 8-10 * * *

Kind regards,

Willem

View solution in original post

willemjongeneel
Communicator

Hello,

I think the following cron will do: 

*/2 8-10 * * *

Kind regards,

Willem

dkgs
Communicator

thank you. 

But the time is between 20 to 23 .

0 Karma

isoutamo
SplunkTrust
SplunkTrust

As it was PM then replace 8-11 to 20-23.

r. Ismo

willemjongeneel
Communicator

Ah yes thats right, but shouldn't it be 20 - 22 then? As it gets every second minute past hour 22. Or am I mistaken? 

Kind regards,

Willem

0 Karma

isoutamo
SplunkTrust
SplunkTrust

that’s true. 

Get Updates on the Splunk Community!

.conf24 | Day 0

Hello Splunk Community! My name is Chris, and I'm based in Canberra, Australia's capital, and I travelled for ...

Enhance Security Visibility with Splunk Enterprise Security 7.1 through Threat ...

(view in My Videos)Struggling with alert fatigue, lack of context, and prioritization around security ...

Troubleshooting the OpenTelemetry Collector

  In this tech talk, you’ll learn how to troubleshoot the OpenTelemetry collector - from checking the ...