US 11,989,161 B2
Generating readable, compressed event trace logs from raw event trace logs
Mircea Ciubotariu, Culver City, CA (US)
Assigned to Amazon Technologies, Inc., Seattle, WA (US)
Filed by Amazon Technologies, Inc., Seattle, WA (US)
Filed on Jul. 1, 2022, as Appl. No. 17/810,518.
Application 17/810,518 is a continuation of application No. 16/451,799, filed on Jun. 25, 2019, granted, now 11,379,421, issued on Jul. 5, 2022.
Prior Publication US 2022/0335013 A1, Oct. 20, 2022
This patent is subject to a terminal disclaimer.
Int. Cl. G06F 16/174 (2019.01); G06F 16/17 (2019.01)
CPC G06F 16/1744 (2019.01) [G06F 16/1734 (2019.01)] 20 Claims
OG exemplary drawing
 
1. A method for compressing log files, comprising:
receiving an uncompressed log file including traces of events executed on a computing system;
identifying, in the uncompressed log file, consecutive events referencing a system call performed with different parameters;
compressing the uncompressed log file, thereby generating a compressed log file, by replacing the identified consecutive events in the uncompressed log file with a single entry indicating that the system call has been repeated, the single entry including a concatenation of parameters from the consecutive events referencing the same action;
identifying repeated sequences of different events in the compressed log file, the repeated sequences of different events including a repeated system call identified by the single entry;
replacing, in the compressed log file, the repeated sequences of different events with a substitute entry referencing an initial repetition of events and a difference between parameters included in the initial repetition of events and a respective repeated sequence; and
outputting the compressed log file.