Splunk Search

How to search failed login attempts of a user in Siteminder smaccess.log and alert after the 3rd unsuccessful login attempt?

krishnacasso
Path Finder

Need to develop a dashboard and a report for getting the the user information of who tried to log in and failed. Need to get an alert after the 3rd unsuccessful login attempt.

Thanks.

1 Solution

lguinn2
Legend

The following search will give you a list of user names (CN) that have more than 2 failed logins.

sourcetype=yoursourcetype  AuthReject
| stats count by CN
| where CN > 2

If you save this search as an alert, you can set the trigger condition to "number of results greater than zero".
You will need to identify the time range though: "number of failed login attempts in the last hour" is a very different thing than "number of failed login attempts in the past week."

View solution in original post

0 Karma

lguinn2
Legend

The following search will give you a list of user names (CN) that have more than 2 failed logins.

sourcetype=yoursourcetype  AuthReject
| stats count by CN
| where CN > 2

If you save this search as an alert, you can set the trigger condition to "number of results greater than zero".
You will need to identify the time range though: "number of failed login attempts in the last hour" is a very different thing than "number of failed login attempts in the past week."

0 Karma

lguinn2
Legend

Instead of hoping that someone in the community knows Siteminder, you could post a small portion of the log (with things like user names obfuscated). This would let many members answer your question...

0 Karma

lguinn2
Legend

Also it would be helpful to know what you used as a sourcetype, and the necessary field names.

0 Karma
Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...