Splunk Enterprise

Splunk Alert same results

Aresndiz
Explorer

Does anyone know if there is a way to suppress the sending of alerts during a certain time interval if the result is the same as the previous trigger, and if the result changes, it should trigger regardless of any suppression or only trigger when there is a new event that causes it to trigger?

Labels (2)
0 Karma

sainag_splunk
Splunk Employee
Splunk Employee

@Aresndiz Checkout https://docs.splunk.com/Documentation/Splunk/9.3.2/Alert/ThrottleAlerts
.You can control alert throttling behavior using these settings in your saved search:

 

alert.suppress = 1
alert.suppress.period = <time-value>

For your specific case of wanting to suppress similar results but trigger on changes, you can also use:

alert.suppress.fields = <comma-separated-field-list>

This tells Splunk to only suppress alerts if the specified fields contain the same values. If the values change, a new alert will trigger even if it's within the suppression period. This gives you the balance of avoiding duplicate notifications while still catching important changes.






If this helps, Please Upvote.

If this helps, Upvote!!!!
Together we make the Splunk Community stronger 

Aresndiz
Explorer

Where is this used? In my search SLP or in the config alerts?

alert.suppress.fields = <comma-separated-field-list>

 

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 ...