Lune

FAST2021Top-tier venue

On the Feasibility of Parser-based Log Compression in Large-Scale Cloud Systems

Junyu Wei, Guangyan Zhang, Yang Wang, Zhiwei Liu, Zhanyang Zhu, Junchao Chen, Tingtao Sun, Qi Zhou

Abstract

Given the tremendous scale of today's system logs, compression is widely used to save space. While parser-based log compressor reported promising results, we observe less intriguing performance when applying it to our production logs.

Our detailed analysis shows that, first, some problems are caused by a combination of sub-optimal implementation and assumptions that do not hold on our large-scale logs. We address these issues with a more efficient implementation. Furthermore, our analysis reveals new opportunities for further improvement. In particular, numerical values account for a significant percentage of space and classic compression algorithms, which try to identify duplicate bytes, do not work well on numerical values. We propose three techniques, namely delta timestamps, correlation identification, and elastic encoding, to further compress numerical values.

Based on these techniques, we have built LogReducer. Our evaluation on 18 types of production logs and 16 types of public logs shows that LogReducer achieves the highest compression ratio in almost all cases and on large logs, its speed is comparable to the general-purpose compression algorithm that targets a high compression ratio.

Ask Lune

Know this paper in minutes, not an afternoon.

Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.

16 top-tier papers have cited it since. Know what they found before your reviewers do.

Questions to start from

Lune can draw on

the full paper · the top-tier papers that cite it · related work

Get the answer

Free to start. No credit card required.

Lineage

  • SPINE: a scalable log parser with feedback guidance cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • LogGrep: Fast and Cheap Cloud Log Storage by Exploiting both Static and Runtime Patterns cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Log Parsing with Prompt-based Few-shot Learning cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • Hue: A User-Adaptive Parser for Hybrid Logs cites SPINE: a scalable log parser with feedback guidance
  • Hue: A User-Adaptive Parser for Hybrid Logs cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log Data cites LogGrep: Fast and Cheap Cloud Log Storage by Exploiting both Static and Runtime Patterns
  • LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log Data cites DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep Learning
  • LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log Data cites Log Parsing with Prompt-based Few-shot Learning
Builds onCited byLeft to right by year; the more cited, the higher.

Cited by top-tier papers16

  1. Log Parsing with Prompt-based Few-shot LearningVan-Hoang Le, Hongyu ZhangICSE 2023 · 98 citations
  2. SPINE: a scalable log parser with feedback guidanceXuheng Wang, Xu Zhang, Liqun Li, Shilin He et al.FSE 2022 · 48 citations
  3. LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log DataXiaoyun Li, Hongyu Zhang, Van-Hoang Le, Pengfei ChenICSE 2024 · 22 citations
  4. LogGrep: Fast and Cheap Cloud Log Storage by Exploiting both Static and Runtime PatternsJunyu Wei, Guangyan Zhang, Junchao Chen, Yang Wang et al.EuroSys 2023 · 18 citations
  5. Hue: A User-Adaptive Parser for Hybrid LogsJunjielong Xu, Qiuai Fu, Zhouruixing Zhu, Yutong Cheng et al.FSE 2023 · 18 citations

Builds on1

  1. DeepLog: Anomaly Detection and Diagnosis from System Logs through Deep LearningMin Du, Feifei Li, Guineng Zheng, Vivek SrikumarCCS 2017 · 1,823 citations

Related papers

  1. Unlocking the Power of Numbers: Log Compression via Numeric Token ParsingSiyu Yu, Yifan Wu, Ying Li, Pinjia HeASE 2024 · 5 citations
  2. LogDelta: Differential Encoding for Log DataSongze Li, Shaoxu Song, Zhitao ShenICDE 2026
  3. LogFold: Compressing Logs with Structured Tokens and Hybrid EncodingShiwen Shan, Yintong Huo, Hongzhan Zhong, Zhining Wang et al.ICSE 2026
  4. LogReducer: Identify and Reduce Log Hotspots in Kernel on the FlyGuangba Yu, Pengfei Chen, Pairui Li, Tianjun Weng et al.ICSE 2023 · 18 citations
  5. LogNexus: Effective Log Compression via Unified Redundancy EncodingYang Liu, Kaiming Zhang, Zhuangbin Chen, Zibin ZhengISSTA 2026
Dusk over the sea between two cliffs drawn in fine vertical lines