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!

Best Strategies to Optimize Observability Costs

 Join us on Tuesday, May 6, 2025, at 11 AM PDT / 2 PM EDT for an insightful session on optimizing ...

Fueling your curiosity with new Splunk ILT and eLearning courses

At Splunk Education, we’re driven by curiosity—both ours and yours! That’s why we’re committed to delivering ...

Splunk AI Assistant for SPL 1.1.0 | Now Personalized to Your Environment for Greater ...

Splunk AI Assistant for SPL has transformed how users interact with Splunk, making it easier than ever to ...