Splunk Search

Why does my real-time alert continue to send emails/sms?

blindfire_bandi
Explorer

I have a query for which I've configured a real-time alert when the query returns a result. I'm getting 25 to 35 emails and texts, and I really just need 1 of each. I'm not sure what I've set incorrectly here.

index = chm source="CH_HealthMonitorHighLevel"
| fillnull value=""
| eval StartTime = relative_time(now(),"-10m")
| where _time >= StartTime and (AppID == 16 or AppID == 41)
| where NOT StatusID == 0 AND NOT StatusID == 1

alt text

0 Karma
1 Solution

paranjith
Explorer

Real time searches run continuously and since, the window specified is 10 minutes, even for one result, it triggers multiple alerts. You can set the throttle to suppress triggering for 10 minutes (that way, the search waits for 10 minutes before triggering the alert again). Hope this helps

View solution in original post

bangalorep
Communicator

The alert is getting triggered repeatedly as the event will be populated multiple times in the 10 minute duration. If you run this search every 10 minutes you should get a single mail only.

0 Karma

whrg
Motivator

Can you post a screenshot of the Trigger Condition?

Also, is there a specific reason why you are using a real-time alert? Because real-time alerts are more costly in terms of computing resources than schedules alerts.

0 Karma

blindfire_bandi
Explorer

@whrg It's attached to the question as alert.png. As far as the real-time is concerned, we're using real-time because we have single value panels that turn yellow to warn and red to indicate "down" for several applications. The operators who are on-call will only be interested in being alerted when something is at the warn or down state.

0 Karma

paranjith
Explorer

Real time searches run continuously and since, the window specified is 10 minutes, even for one result, it triggers multiple alerts. You can set the throttle to suppress triggering for 10 minutes (that way, the search waits for 10 minutes before triggering the alert again). Hope this helps

blindfire_bandi
Explorer

@paranjith The throttling has fixed my issue. Thank you

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...