Alerting

How do you generate an alert on a specific condition?

test4u
Path Finder

I want to generate an alert on a specific condition?

If an alert is generated from an ID for the first time, an email needs to be sent. If the next alert is received within 30 mins for the same ID, then an email notification will be sent after 30 mins with no of alerts within the last 30 mins.

Tags (2)
0 Karma
1 Solution

woodcock
Esteemed Legend

You have 2 options.

1: You can save whenever alert is sent to a lookup file with the time that it was sent. Then, when the threshold is hit again, see if 30 minutes have passed or not. If so, update the lookup.

2: You can turn on the Throttle feature inside of the Alert conditions.

View solution in original post

0 Karma

woodcock
Esteemed Legend

You have 2 options.

1: You can save whenever alert is sent to a lookup file with the time that it was sent. Then, when the threshold is hit again, see if 30 minutes have passed or not. If so, update the lookup.

2: You can turn on the Throttle feature inside of the Alert conditions.

0 Karma

test4u
Path Finder

thanks throttling worked for me .. but i want that after the throttle time is over an email is sent containing how many events occurred from that id within the throttle time ...how can we do that?

0 Karma

woodcock
Esteemed Legend

You will have to switch to answer #1.

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!

Build the Future of Agentic AI: Join the Splunk Agentic Ops Hackathon

AI is changing how teams investigate incidents, detect threats, automate workflows, and build intelligent ...

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