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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...

Take Action Automatically on Splunk Alerts with Red Hat Ansible Automation Platform

Ready to make your IT operations smarter and more efficient? Discover how to automate Splunk alerts with Red ...