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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...