LogLite: Lightweight Plug-and-Play Streaming Log Compression

Fuente: arXiv
Saved in:
Bibliographic Details
Main Authors: Tang, Benzhao, Yang, Shiyu, Shen, Zhitao, Zhang, Wenjie, Lin, Xuemin, Tian, Zhihong
Format: Preprint
Published: 2025
Subjects:
Online Access:
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866908448972603392
author Tang, Benzhao
Yang, Shiyu
Shen, Zhitao
Zhang, Wenjie
Lin, Xuemin
Tian, Zhihong
author_facet Tang, Benzhao
Yang, Shiyu
Shen, Zhitao
Zhang, Wenjie
Lin, Xuemin
Tian, Zhihong
contents Log data is a vital resource for capturing system events and states. With the increasing complexity and widespread adoption ofmodern software systems and IoT devices, the daily volume of log generation has surged to tens of petabytes, leading to significant collection and storage costs. To address this challenge, lossless log compression has emerged as an effective solution, enabling substantial resource savings without compromising log information. In this paper, we first conduct a characterization study on extensive public log datasets and identify four key observations. Building on these insights, we propose LogLite, a lightweight, plug-and-play, streaming lossless compression algorithm designed to handle both TEXT and JSON logs throughout their life cycle. LogLite requires no predefined rules or pre-training and is inherently adaptable to evolving log structures. Our evaluation shows that, compared to state-of-the-art baselines, LogLite achieves Pareto optimality in most scenarios, delivering an average improvement of up to 67.8% in compression ratio and up to 2.7 $\times$ in compression speed.
format Preprint
id arxiv_https___arxiv_org_abs_2507_10337
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle LogLite: Lightweight Plug-and-Play Streaming Log Compression
Tang, Benzhao
Yang, Shiyu
Shen, Zhitao
Zhang, Wenjie
Lin, Xuemin
Tian, Zhihong
Databases
Log data is a vital resource for capturing system events and states. With the increasing complexity and widespread adoption ofmodern software systems and IoT devices, the daily volume of log generation has surged to tens of petabytes, leading to significant collection and storage costs. To address this challenge, lossless log compression has emerged as an effective solution, enabling substantial resource savings without compromising log information. In this paper, we first conduct a characterization study on extensive public log datasets and identify four key observations. Building on these insights, we propose LogLite, a lightweight, plug-and-play, streaming lossless compression algorithm designed to handle both TEXT and JSON logs throughout their life cycle. LogLite requires no predefined rules or pre-training and is inherently adaptable to evolving log structures. Our evaluation shows that, compared to state-of-the-art baselines, LogLite achieves Pareto optimality in most scenarios, delivering an average improvement of up to 67.8% in compression ratio and up to 2.7 $\times$ in compression speed.
title LogLite: Lightweight Plug-and-Play Streaming Log Compression
topic Databases
url https://arxiv.org/abs/2507.10337