Alerting

How to set up an alert to run on a cron schedule every 5 minutes, stop triggering after 5 times in an hour, then trigger again after the 1 hour interval?

sympatiko
Communicator

Hi Splunkers,

Is it possible to do this on splunk alerts:

Cron running every 5 mins, if the triggered alerts already reached 5 in an hour, it will stop triggering. After the 1 hour interval it will start to trigger again. Is it possible?

Thanks,

1 Solution

stephanefotso
Motivator

Hello!

  1. you can cron your alert to run every 5 minutes.
  2. You can know if the number of alerts already reached 5, in hour.
  3. But you can not stop an alert, until you do it manually(Disable the alert) or you configure it to stop after certain time, when setting up your alert
  4. After an alert it Disabled, it can not start automatically, until you have Enabled it.

Means, what you are asking is not yet possible with splunk.
Thanks
Stephane

SGF

View solution in original post

stephanefotso
Motivator

Hello!

  1. you can cron your alert to run every 5 minutes.
  2. You can know if the number of alerts already reached 5, in hour.
  3. But you can not stop an alert, until you do it manually(Disable the alert) or you configure it to stop after certain time, when setting up your alert
  4. After an alert it Disabled, it can not start automatically, until you have Enabled it.

Means, what you are asking is not yet possible with splunk.
Thanks
Stephane

SGF

sympatiko
Communicator

Thanks! =D Have a great day

0 Karma
Get Updates on the Splunk Community!

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...