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!

Application management with Targeted Application Install for Victoria Experience

  Experience a new era of flexibility in managing your Splunk Cloud Platform apps! With Targeted Application ...

Index This | What goes up and never comes down?

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

Splunkers, Pack Your Bags: Why Cisco Live EMEA is Your Next Big Destination

The Power of Two: Splunk + Cisco at "Ludicrous Scale"   You know Splunk. You know Cisco. But have you seen ...