Session-based processing method and system
Abstract
A log file processing system sorts records from large log files and groups them by session without making a complete copy of the log files by capturing a subset of the log files in a sliding memory window and identifying all records in the window that form a complete user session. Records belonging to a complete session are output for analyzing, and the remaining records are output as raw log data for additional processing. Using a ring buffer to implement the sliding memory window, data structures are used to group records by session, to identify completed sessions, and to index into the ring buffer to retrieve records for completed sessions that are to be directly analyzed. Any records remaining in the ring buffer at the end of slide window processing may be output as raw log file data and are processed as incomplete or malformed session records. An embodiment of the log file processing system provides a significant improvement on the speed of data extraction from log files into analyzable session data.
Interactive Citation Constellation Global Citation Ranking
Interactive SVG Citation Constellation renders in Rust/WebAssembly. Prior art cited: 29 · Forward citations: 1.
Claims (1 — 1 Independent, 0 Dependent)
- Claim 1Independent Claim
A method for processing web server logs a session at a time, comprising: receiving a stream of raw log file data comprising a plurality of substantially chronologically ordered web server requests from different user sessions; storing a data subset of the raw log file data as a first plurality of web server requests from different user sessions in a sliding memory window having a size that may be programmably controlled and adjusted for processing in a memory-efficient manner; identifying and grouping any complete user sessions within the first plurality of web server requests stored in the sl
Technical Overview & Description
Full multi-page specification text is archived at the issuing office. Read complete official specification ↗
Cited By — Indexed Forward Citations (1 of 1 total)
| Patent | Title | Year | Citations |
|---|---|---|---|
| US 10,104,108 B2 | Log analysis system | 2018 | 0 |
References Cited — Backward Prior Art (29)
Non-Patent Literature (2)
- Cormen, Thomas H. et al., "Introduction to Algorithms," MIT Press, 1990, pp. 203-208, 221-226, 243-246.
- http://www.http-analyze.org, A Log Analyzer for Web Servers, printed Mar. 11, 2004.