LogDelta: Differential Encoding for Log Data
Songze Li, Shaoxu Song, Zhitao Shen
摘要
System logs are critical for understanding the performance of various software systems. Compression is essential to efficient storage or transmission of system log data. Generalpurpose compressors like LZMA treat logs as binary data, ignoring their structure, and thus fail to achieve the best compression. The semi-structured nature of log data leads to parser-based methods, which however require extra space for storing templates. We observe that although log data exhibit high similarity, the repetitions are extremely scattered. Rather than storing the vast positions or complicated templates for short repetitions, we propose to merge them as one large difference between log records. Inspired by the differential encoding for numerical data, we propose LogDelta, a novel differential encoding method for log data. The compression task is formulated as an optimization problem to minimize the cost of differential operations from one log record to another. By replaying such differential operations, each log record can be reconstructed in decompression. While a dynamic programming algorithm is developed, we further propose a linear time approximation, delivering comparable compression ratio as the optimal solution. Experimental results on real world system logs demonstrate that LogDelta achieves superior compression ratios while maintaining comparable compression speeds.
问问这篇 Paper
问问你的智能体。
Lune 读过与它相关的顶会 Paper,每个回答都会注明依据哪几篇。
相关 Paper
- On the Feasibility of Parser-based Log Compression in Large-Scale Cloud SystemsJunyu Wei, Guangyan Zhang, Yang Wang, Zhiwei Liu 等FAST 2021 · 被引用 34 次
- Unlocking the Power of Numbers: Log Compression via Numeric Token ParsingSiyu Yu, Yifan Wu, Ying Li, Pinjia HeASE 2024 · 被引用 5 次
- LogNexus: Effective Log Compression via Unified Redundancy EncodingYang Liu, Kaiming Zhang, Zhuangbin Chen, Zibin ZhengISSTA 2026
- LogFold: Compressing Logs with Structured Tokens and Hybrid EncodingShiwen Shan, Yintong Huo, Hongzhan Zhong, Zhining Wang 等ICSE 2026
- ELISE: A Storage Efficient Logging System Powered by Redundancy Reduction and Representation LearningHailun Ding, Shenao Yan, Juan Zhai, Shiqing MaUSENIX Security 2021 · 被引用 30 次
