LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log Data
Not on the map. Why?
Abstract (arXiv)
Log data is a crucial resource for recording system events and states during system execution. However, as systems grow in scale, log data generation has become increasingly explosive, leading to an expensive overhead on log storage, such as several petabytes per day in production. To address this issue, log compression has become a crucial task in reducing disk storage while allowing for further log analysis. Unfortunately, existing general-purpose and log-specific compression methods have been limited in their ability to utilize log data characteristics. To overcome these limitations, we conduct an empirical study and obtain three major observations on the characteristics of log data that can facilitate the log compression task. Based on these observations, we propose LogShrink, a novel and effective log compression method by leveraging commonality and variability of log data. An analyzer based on longest common subsequence and entropy techniques is proposed to identify the latent commonality and variability in log messages. The key idea behind this is that the commonality and variability can be exploited to shrink log data with a shorter representation. Besides, a clustering-based sequence sampler is introduced to accelerate the commonality and variability analyzer. The extensive experimental results demonstrate that LogShrink can exceed baselines in compression ratio by 16% to 356% on average while preserving a reasonable compression speed.
Key facts. Cited by 7 papers in the map (data through 14 Oct 2026). First posted on arXiv 18 Sep 2023.
Builds on
No reference list yet.
Built on by
Citing papers per year: 2023: 1; 2024: 1; 2025: 3; 2026: 2.
7 papers.
- 2025Chimera: Harnessing Multi-Agent LLMs for Automatic Insider Threat Simulationcited by 4
- 2025System Log Parsing with Large Language Models: A Reviewcited by 3
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Modelscited by 2
- 2025Deep Learning-based Intrusion Detection Systems: A Surveycited by 2
- 2023LogLead -- Fast and Integrated Log Loader, Enhancer, and Anomaly Detectorcited by 1
- 2026LogSieve: Task-Aware CI Log Reduction for Sustainable LLM-Based Analysiscited by 1
- 2026Agent-Native Telemetry: Verifiable State-Delta Evidence for Autonomous Operationscited by 0
- 2026Agent-Native Telemetry: Verifiable State-Delta Evidence for Autonomous Operations17 Aug 2026
- 2026LogSieve: Task-Aware CI Log Reduction for Sustainable LLM-Based Analysis28 Jan 2026
- 2025Chimera: Harnessing Multi-Agent LLMs for Automatic Insider Threat Simulation11 Aug 2025
- 2025Deep Learning-based Intrusion Detection Systems: A Survey10 Apr 2025
- 2025System Log Parsing with Large Language Models: A Review7 Apr 2025
- 2024LUK: Empowering Log Understanding with Expert Knowledge from Large Language Models3 Sep 2024
- 2023LogLead -- Fast and Integrated Log Loader, Enhancer, and Anomaly Detector20 Nov 2023