SplunkSoftware Engineer · Technical ScreenCodemia practiceGroup Log Events Into Sessions With Max Pause and Span
Given an unordered list of log events, each with an integer timestamp and optional fields, group events that share a key field into transactions, starting a new transaction when the gap since the previous event exceeds max_pause or the total span would exceed max_span. Return each transaction's key, start, end, duration and event count.
Medium
Coding & Algorithms