Splunk Search

Multiple Login Failure Attempts

mihall
Path Finder

How can I search for 10 failed logon attempts within a 5 minute timeframe?
I could try timechart, but a 24 hour period does not allow the interval to be as small as 5 mins. I could also "stats count by user", but this does not show any aspect of time.

0 Karma

woodcock
Esteemed Legend

Like this:

... | streamstats time_window=5m count(failed_logins) AS failed_logins BY user | where failed_logins >=10

DalJeanis
SplunkTrust
SplunkTrust

@woodcock - Since he mentioned stats count by user I think he wants ten failed logins for a single user...

0 Karma

mihall
Path Finder

No I'm actually looking for all failed logins by users. >10 was the most important part. Thanks

0 Karma

woodcock
Esteemed Legend

Updated, thank you @DalJeanis.

0 Karma

sbbadri
Motivator

try this

| timechart span=5m count(failed_logins) as failed_logins | where failed_logins <=10

0 Karma

woodcock
Esteemed Legend

I think: s/</>/

0 Karma
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...