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!

Thanks for the Memories: .conf26 Took Learning to New Heights

Thank you, Splunk Community, for making .conf26 in Denver one for the books. From packed Splunk University ...

Best Practices: Splunk auto adjust pipeline queue

When you enable autoAdjustQueue in Splunk, maxSize should be understood as the queue size Splunk starts with ...

Splunk Auto Ingestion Parallel Pipeline Scaling

Why this feature matters Many Splunk environments experience ingestion pressure long before the host is fully ...