Alerting

How to create an alert scheduled in realtime and only triggered once per result?

christianubeda
Path Finder

Hi team!

I have problems with my alerts in realtime. I have like 70 and most of them don't trigger when they should.

I try to do schedules in realtime (Run the alert every 5 min) to avoid realtime problems

But it still misses events...

If I set run crontab every 5 min in 1h window it sends me tons of mail with repeat alerts.

What can I do?

I need an alert in real time that doesn't miss events.

alt text

0 Karma

snigdhasaxena
Communicator

Hi @christianubeda

When you run alert in real time, alerts are skipped/ do not get triggered because of the alerts in queue.
Suppose there's a huge traffic while splunk generates alert for current event, there may be several other alerts in queue since it is running for real time. this in turn leads splunk to not to generates alerts due to too many searches in pipeline (skipped searches).

My suggestions :
1. Run alert as scheduled search using cron schedule.
2. Pick a wider time range
3. You can use throttle to avoid duplicate alerts

0 Karma
Get Updates on the Splunk Community!

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...

Share Your Ideas & Meet the Lantern team at .Conf! Plus All of This Month’s New ...

Splunk Lantern is Splunk’s customer success center that provides advice from Splunk experts on valuable data ...