Splunk Search

How to search failed login attempts on our Mac systems for a specific time range?

klynn89
New Member

Hey,

I am trying to verify we are getting failed login attempt at a specific time on some of our mac systems in Splunk. What kind of search string do I need to perform such a search?

Tags (4)
0 Karma

rphillips_splk
Splunk Employee
Splunk Employee

you should know the value of the index field and sourcetype field to narrow down your search. If you did not specify either of these in inputs.conf on the forwarder the events will default into the main index (index=main).

a basic search with the "key words" you are after would look like this:

index=x sourcetype=y "failed logins"| stats count by host

index=main "failed logins"| stats count by host

use the time picker in the flash timeline to define the time period to search over.

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...