Security

We had a authentication outage today, trying to write the "best" alert for this? Input?

daniel333
Builder

All,

Had a AD outage today which caused issues, but we had no alert. I was just going to compare time ranges in 15 minute buckets for spikes, but thought there might be a fancier way to do it. Any input on some options on how to alert againt the authentication spike below?

alt text

Tags (1)
0 Karma

woodcock
Esteemed Legend
0 Karma

DalJeanis
Legend

Basically, timechart is s pretty good base solution for this... but I'm wondering what your count field on that kind of event contains. Is it the count in a particular unit of time? Is there even such a field? When you further count the count within timechart, whatever value might have been in that earlier count field is gone, so only the _time field is really passing. We've changed count to index below to clarify what is really happening.

tag=authentication tag=failure 
| fields index 
| timechart span=5m count as FailCount 
| eventstats avg(FailCount) as avgFail stdev(FailCount) as stdevFail max(FailCount) as maxFail
| eval Warning = avgFail + 2*stdevFail
| fields - avgFail stdevFail

The above will put a horizontal line at the avg + 2 sd level on the timechart, and another one at the maximum value found. Anything above this level you can consider alerting on.

This would let all the records through if any of them are worth alerting on...

| where maxFail >= Warning

... or this would let only the ones that are worth alerting on themselves....

| where FailCount >= Warning
0 Karma
Get Updates on the Splunk Community!

Index This | Why did the turkey cross the road?

November 2025 Edition  Hayyy Splunk Education Enthusiasts and the Eternally Curious!   We’re back with this ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Feel the Splunk Love: Real Stories from Real Customers

Hello Splunk Community,    What’s the best part of hearing how our customers use Splunk? Easy: the positive ...