CLP: Efficient and Scalable Search on Compressed Text Logs
Kirk Rodrigues, Yu Luo, Ding Yuan
Abstract
This thesis presents the design and implementation of CLP, a tool capable of losslessly compressing unstructured text logs while enabling fast searches directly on the compressed data. Log search and log archiving, despite being critical problems, are mutually exclusive. Widely used log-search tools like Elasticsearch and Splunk Enterprise index the logs to provide fast search performance, yet the size of the index is within the same order of magnitude as the raw log size. Commonly used log archival and compression tools like Gzip provide high compression ratios, yet searching archived logs is a slow and painful process as it first requires decompressing the logs. In contrast, CLP achieves significantly higher compression ratio than all commonly used compressors, yet delivers fast search performance that is comparable or even better than Elasticsearch and Splunk Enterprise. In addition, CLP outperforms Elasticsearch and Splunk Enterprise's log ingestion performance by over 13×, and we show CLP scales to petabytes of logs. CLP's gains come from using a tuned, domainspecific compression and search algorithm that exploits the significant amount of repetition in text logs. Hence, CLP enables efficient search and analytics on archived logs, something that was impossible without it.
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.
19 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- LogGrep: Fast and Cheap Cloud Log Storage by Exploiting both Static and Runtime Patterns cites On the Feasibility of Parser-based Log Compression in Large-Scale Cloud Systems
- LILAC: Log Parsing using LLMs with Adaptive Parsing Cache cites LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log Data
- LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log Data cites On the Feasibility of Parser-based Log Compression in Large-Scale Cloud Systems
- 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
Cited by top-tier papers19
- LILAC: Log Parsing using LLMs with Adaptive Parsing CacheZhihan Jiang, Jinyang Liu, Zhuangbin Chen, Yichen Li et al.FSE 2024 · 85 citations
- HARDLOG: Practical Tamper-Proof System Auditing Using a Novel Audit DeviceAdil Ahmad, Sangho Lee, Marcus PeinadoS&P 2022 · 46 citations
- Investigating Managed Language Runtime Performance: Why JavaScript and Python are 8x and 29x slower than C++, yet Java and Go can be Faster?David Lion, Adrian Chiu, Michael Stumm, Ding YuanUSENIX ATC 2022 · 31 citations
- LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log DataXiaoyun Li, Hongyu Zhang, Van-Hoang Le, Pengfei ChenICSE 2024 · 22 citations
- 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
Builds on2
Related papers
- LogCloud: Fast Search of Compressed Logs on Object StorageZiheng Wang, Junyu Wei, Alex Aiken, Guangyan Zhang et al.VLDB 2025 · 1 citation
- μSlope: High Compression and Fast Search on Semi-Structured LogsRui Wang, Devin Gibson, Kirk Rodrigues, Yu Luo et al.OSDI 2024 · 8 citations
- ELISE: A Storage Efficient Logging System Powered by Redundancy Reduction and Representation LearningHailun Ding, Shenao Yan, Juan Zhai, Shiqing MaUSENIX Security 2021 · 30 citations
- LogLite: Lightweight Plug-and-Play Streaming Log CompressionBenzhao Tang, Shiyu Yang, Zhitao Shen, Wenjie Zhang et al.VLDB 2025
- : Near-Storage Accelerator for High-Performance Log AnalyticsSeongyoung Kang, Jiyoung An, Jinpyo Kim, Sang-Woo JunMICRO 2021 · 9 citations
