Splunk Search

Splunk tracking user with timebased lookup

burakatabay
Path Finder

I want to tracking login and logout users on computers with timebased lookup.

I have logon and logoff time for example in timebased-lookup;
_time,user,host,type
09:00AM, someuser1, ComptuerA,logon
10:00AM, someuser1, ComputerA,logoff
10:00PM, otheruser2, ComptuerA,logon
11:00PMi otheruser2, ComputerA,logoff

and if I do another search with just the account name ı want to see logged user in a timerange.

The other raw log is;
09:00AM host=ComptuerA type=infection file=malware.exe
for example ;
11:00AM host=ComputerA type=scanning
11:34PM host=ComputerA type=cleaning

How do I add username someuser1 only to events between 9 o'clock and 10 o'clock on computerA with timebased-lookup?

Thank you for helping.

Labels (1)
Tags (3)
0 Karma

thambisetty
SplunkTrust
SplunkTrust

doc with example for timebased lookup.

https://docs.splunk.com/Documentation/Splunk/8.0.6/Knowledge/Configureatime-boundedlookup

————————————
If this helps, give a like below.
0 Karma
Get Updates on the Splunk Community!

AI for AppInspect

We’re excited to announce two new updates to AppInspect designed to save you time and make the app approval ...

App Platform's 2025 Year in Review: A Year of Innovation, Growth, and Community

As we step into 2026, it’s the perfect moment to reflect on what an extraordinary year 2025 was for the Splunk ...

Operationalizing Entity Risk Score with Enterprise Security 8.3+

Overview Enterprise Security 8.3 introduces a powerful new feature called “Entity Risk Scoring” (ERS) for ...