Looking up times is not straightforward. For the most part, lookups do exact string matches (except for wildcard and CIDR matching, if defined). Timestamps are even trickier since Splunk can't do much with them in string format. That means something like | inputlookup mylookup.csv where Last_Scan_Datetime > someValue won't work. You'd have to convert the timestamp to epoch form and then compare it. | inputlookup mylookup.csv
| eval epoch = strptime(Last_Scan_Datetime, "%Y-%m-%d-%H:%M:%S")
| where epoch > relative_time(now(), "-3d") This assumes your use case works with the inputlookup command. I know of no similar solution using lookup.
... View more