r/Splunk • u/EducationalWedding48 • 23d 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?
4
u/_Lyx_ 23d ago
| from datamodel Authentication Authentication
| search action=success
| stats count by hostYou 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 23d ago
Several asterisks on that one sentence.... it's accurate, and also a world of assumptions.
4
u/tclark2006 23d ago
Yea our authentication DM is a dumpster fire with the standard windows TA. It thinks everything is an authentication event.
2
u/TheSeabo 23d 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
2
u/Busy-Life-2412 23d 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
1
u/dovey112 10d ago
You might also need to look at "Logon Type", as they are different depending on what Security Log you are looking at.
4624 events on a Domain Controller will almost always be Type=3, unless there are interactive logons to it via console (type=2).
Everything on Endpoints/Desktops etc will be interactive ...type=2........Unless of course you browse to \\computername\c$ .......that will be type=3 on the local box.
7
u/Dvorak_94 23d 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?