Splunk Search

Alert scheduler question- How to run in seconds?

metylkinandrey
Communicator

Good afternoon! I figured out how to set up alerts. Understood with the parameter: Cron Expression.

Currently I am using: */1 * * * * (run every minute).

Tell me how to run in seconds, I tried a lot of options, but the splunk swears - it gives an error. How, for example, to run every 30 or 40 seconds?

 

Thanks in advance!

Labels (1)
Tags (1)
0 Karma
1 Solution

johnhuang
Motivator

Cron jobs do not support seconds -- I'm not sure why you need to run something this frequent? 

View solution in original post

johnhuang
Motivator

Cron jobs do not support seconds -- I'm not sure why you need to run something this frequent? 

metylkinandrey
Communicator

Understood thanks!
Well, how to say, for demos and testing, such intervals are convenient.

0 Karma

johnhuang
Motivator

You can try scheduling it as a real time search which causes it to run continously and process data as it comes in.

Tags (1)
0 Karma
Get Updates on the Splunk Community!

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...

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