Knowledge Management

How do I trigger a search to start and stop with certain criteria

jhilton90
Path Finder

Basically, I want to create an alert than runs a particular search that we are running manually when the login failure limit is greater than 30. Then I want the search to stop once the login failure limit drops back below 15, then to output the results via email.

I am getting frustrated because I can't seem to find anything that I can use to achieve this result

Any help would be greatly appreciated

Labels (3)
0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

An alert is essentially a scheduled search which triggers alert actions e.g. send an email, based on whether certain conditions have been found by the search e.g. login failure limit (b)reached. When the conditions are not met, the alert will not trigger the actions. In order to have some sort of hysteresis effect, you would need to be able to track the previous states of the alerts. You could store previous conditions in an alternate store such as a csv or in a summary index, for example. Or your report could attempt to recalculate the previous results of past scheduled executions of the search.

0 Karma

jhilton90
Path Finder

So we already have logic in place where if there are a high number of failed logins within 1 minute for example, then an email gets sent out to let us know that we are experiencing X number of failed logins with a minute. That's when we also so the login failure limit spike up and come back down to a normal level

0 Karma
Get Updates on the Splunk Community!

Index This | I’m short for "configuration file.” What am I?

May 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with a Special ...

New Articles from Academic Learning Partners, Help Expand Lantern’s Use Case Library, ...

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

Your Guide to SPL2 at .conf24!

So, you’re headed to .conf24? You’re in for a good time. Las Vegas weather is just *chef’s kiss* beautiful in ...