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!

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...