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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

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