Splunk Search

Gathering stats

robK123
Explorer

Every day I run a search that finds any users who have had at least 5 failed login attempts

source="secure" sshd "pam_ldap: error trying to bind as user"|top uid limit=500 | search count >= 5

This works fine but once a month I want to compile a report of how many users had 5 or more failed login attempts in a 24 hour period. So I need to create a search that covers 30 days but only show me users that had at least 5 failed logins in a 24 hour period at some point during the 30 days and they could of also of had 5 failed logins at 2 different days during the 30 day period. Hope that makes sense!

Does anyone know how to do this?

Thanks,

Tags (1)
0 Karma

yannK
Splunk Employee
Splunk Employee
0 Karma
Get Updates on the Splunk Community!

Data Management Digest – December 2025

Welcome to the December edition of Data Management Digest! As we continue our journey of data innovation, the ...

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