Splunk Enterprise Security

How to create report of excessive failed login user with head 5?

DawoodUlex
New Member

Hi Team,

I want to create a report of excessive failed login users who have more than 5 failed login attempts from an app.

Thanks
Dawood

0 Karma
1 Solution

nickhills
Ultra Champion

| tstats count as failedLogins where (index=yourAuthIndex action!=success earliest=-4h latest=-1h) by user|where failedLogins>5

You may need to change the fields and times to suit your needs.

If my comment helps, please give it a thumbs up!

View solution in original post

0 Karma

nickhills
Ultra Champion

| tstats count as failedLogins where (index=yourAuthIndex action!=success earliest=-4h latest=-1h) by user|where failedLogins>5

You may need to change the fields and times to suit your needs.

If my comment helps, please give it a thumbs up!
0 Karma

nickhills
Ultra Champion

Hi @DawoodUlex try something like this:

...<your search for failed logins>|stats count as failedLogins by user|where failedLogins>5

If my comment helps, please give it a thumbs up!
0 Karma

DawoodUlex
New Member

I am using tstat and it is showing data from very beginning i.e. 2017.

0 Karma
Get Updates on the Splunk Community!

Index This | What is broken 80% of the time by February?

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

Unlock Faster Time-to-Value on Edge and Ingest Processor with New SPL2 Pipeline ...

Hello Splunk Community,   We're thrilled to share an exciting update that will help you manage your data more ...

Splunk MCP & Agentic AI: Machine Data Without Limits

Discover how the Splunk Model Context Protocol (MCP) Server can revolutionize the way your organization uses ...