Getting Data In

Failed Logons To Splunk

peasead
Path Finder

Is there a way to search by failed logons to Splunk?

I'd like to create an alert if a user attempts to logon but is denied either because an account doesn't exist, wrong password, etc.

Has anyone else tried this?

Tags (2)
0 Karma
1 Solution

peasead
Path Finder

Got it

index=_audit action=failure

or

index=_audit action=failure | stats count by _time,user,action

View solution in original post

peasead
Path Finder

Got it

index=_audit action=failure

or

index=_audit action=failure | stats count by _time,user,action

stanwin
Contributor

For 6.2.3 below is the location , seems it is NOT logged under ' index=_audit action=failure'

index=_internal  sourcetype=splunkd ERROR  "Login failed"
0 Karma

earlhelms
Path Finder

Thank you, I used this to troubleshoot a user that said he couldn't login

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 ...