Alerting

Alert setup

amirarsalan
Explorer

Hi all!
Want to set up an alert.
I want it to alert when the value is 0 for more than 15 min.
What shall write in cron, earliest etc.
I have the search already.

Thanks in advance

Tags (2)
0 Karma
1 Solution

dindu
Contributor

Hi,

You could give the below conf to achieve the functionality.
Please try and let us know.

   Cron : 0-59/15 * * * *  [Runs a search every 15 min,round the clock - 00,15,30,45 ]
   Earliest : -15m@m [ Give the window of search for the past 15 min ]
   Latest : now

View solution in original post

dindu
Contributor

Hi,

You could give the below conf to achieve the functionality.
Please try and let us know.

   Cron : 0-59/15 * * * *  [Runs a search every 15 min,round the clock - 00,15,30,45 ]
   Earliest : -15m@m [ Give the window of search for the past 15 min ]
   Latest : now

amirarsalan
Explorer

Thank You @dindu

0 Karma

dindu
Contributor

Thanks

0 Karma

richgalloway
SplunkTrust
SplunkTrust

What you put in the cron, earliest, and latest boxes depends on how often you want your search to run and over what time frame. We need more information.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...