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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...