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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...