Splunk Search

What is a good search where I can capture the last 24hrs of successful AD domain logins?

Ellen
Splunk Employee
Splunk Employee

I need to identify how many authorizations (active directory domain logins) per day on average we have per domain controller. Can you please determine what may be the best Splunk query to run that won’t give me too much unwanted data within the search? I am currently using the search string:

index=dclog EventCode=4624 | table _time Process_Name EventCode Account_Domain Account_Name

What is the best search query string to use with Splunk to get the last 24 hours of successful domain logons?”

Tags (1)
1 Solution

Rob
Splunk Employee
Splunk Employee

Without knowing what data is unwanted, it is rather difficult to determine how to filter out data. However, assuming that you only want domain logons, you will probably want to either only include domain names that you know or filter out the local domains.

As an example:

index=dclog EventCode=4624 Account_Domain!="WORKGROUP" earliest=-24h@h | table _time Process_Name EventCode Account_Domain Account_Name

View solution in original post

Rob
Splunk Employee
Splunk Employee

Without knowing what data is unwanted, it is rather difficult to determine how to filter out data. However, assuming that you only want domain logons, you will probably want to either only include domain names that you know or filter out the local domains.

As an example:

index=dclog EventCode=4624 Account_Domain!="WORKGROUP" earliest=-24h@h | table _time Process_Name EventCode Account_Domain Account_Name
Get Updates on the Splunk Community!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...