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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...