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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...

Share Your Feedback: On Admin Config Service (ACS)!

Help Us Build a Better Admin Config Service Experience (ACS)   We Want Your Feedback on Admin Config Service ...