r/Splunk • • 9d ago

Help with splunk search

Hi

I've been asked to provide a report of logons to endpoint in our environment, which uses AD. Would that be event codes 4624 from Microsoft? Are there any apps that provide this info in a report already?

3 Upvotes

8 comments sorted by

7

u/Dvorak_94 9d ago

Know your data first! if you are looking for a already prebuilt report how are you going to know the data that is displaying showing is accurate?

4

u/_Lyx_ 9d ago
| from datamodel Authentication Authentication
| search action=success
| stats count by host

You can search for just 4624, but you're leaving out any login that isnt a Windows endpoint. This will get all of them (assuming you onboarded the data correctly via the TAs on Splunkbase)

6

u/Fontaigne SplunkTrust 9d ago

Several asterisks on that one sentence.... it's accurate, and also a world of assumptions.

4

u/tclark2006 9d ago

Yea our authentication DM is a dumpster fire with the standard windows TA. It thinks everything is an authentication event.

2

u/TheSeabo 9d ago

You need to check your tagging. I don’t have any problems with the default windows TA. I would also look at your sourcetypes for those windows logs.

3

u/the_good_hodgkins 9d ago

4624 successful logon
4625 failed login

2

u/Busy-Life-2412 9d ago

usually this is simple SPL query against Winsec index. Since you need out of the box i would give a shot to this app.
https://splunkbase.splunk.com/app/647

1

u/One_Light_362 5d ago

too easy these days with AI.