LogFold: Compressing Logs with Structured Tokens and Hybrid Encoding
LogFold: сжатие журналов с использованием структурированных токенов и гибридного кодирования
2026-04-12
SCID: 54.1/kduzky27
Discuss with AI
compression ratiodelimiter skeletonshybrid encodinglog compressionstructured tokens
Figures from the paper
Abstract (AI)
Logs are essential for diagnosing failures and conducting retrospective studies, leading many software organizations to retain log messages for a long time. Nevertheless, the volume of generated log data grows rapidly as software systems grow, necessitating an effective compression method. Apart from general-purpose compressors (e.g., Gzip, Bzip2), many recent studies developed log-specific compression algorithms, but they offer suboptimal performance because of (1) overlooking redundancies within certain complex tokens, and (2) lacking a fine-grained encoding strategy for diverse token types. This work uncovers a new redundancy pattern in structured tokens and proposes a new type-aware encoding strategy to improve log compression. Building on this insight, we introduce LogFold, a novel log compression method consisting of four components: a token analyzer to classifies tokens as structured, unstructured, or static types; a processor that mines recurring patterns within structured tokens based on their delimiter skeletons; a hybrid encoder that tailors data representation according to token types; and a packer that compresses the output into an archive file. Extensive experiments on 16 public log datasets demonstrate that LogFold surpasses state-of-the-art baselines, achieving average compression ratio improvements by 11.11%, with a compression speed of 9.842 MB/s. Ablation studies further indicate the importance of each component. We also conduct sensitivity analyses to verify LogFold's robustness and stability across various internal settings.
Key Findings
1
Experiments on 16 public log datasets show that LogFold improves average compression ratios by 11.11% over state-of-the-art baselines.
2
LogFold achieves a compression speed of 9.842 MB/s; ablation and sensitivity studies support the importance, robustness, and stability of its components.
3
LogFold combines token analysis, structured-pattern mining, hybrid encoding, and archive packing into a dedicated log-compression pipeline.
4
LogFold identifies previously overlooked redundancy patterns within structured log tokens using their delimiter skeletons.
5
The method introduces a type-aware hybrid encoding strategy tailored to structured, unstructured, and static tokens.
Research Object
software system log data, including structured, unstructured, and static log tokens
Research Subject
redundancy patterns and type-aware hybrid encoding for improving log compression ratio, speed, robustness, and stability
Publication Details
Publication Date
2026-04-12
Journal
Publisher
ISSN
Cited by
0
Open access PDF
Access Type
Author Information
Download PDF
Subscribe to digest