Logzip: Extracting Hidden Structures via Iterative Clustering for Log Compression

Logzip: извлечение скрытых структур с помощью итеративной кластеризации для сжатия журналов
Jinyang Liu, Jieming Zhu, Shilin He, Pinjia He, Zibin Zheng, Michael R. Lyu
2019-11-01

hidden structure extractioniterative clusteringlog compressionparallel compressionsystem logs
System logs record detailed runtime information of software systems and are used as the main data source for many tasks around software engineering. As modern software systems are evolving into large scale and complex structures, logs have become one type of fast-growing big data in industry. In particular, such logs often need to be stored for a long time in practice (e.g., a year), in order to analyze recurrent problems or track security issues. However, archiving logs consumes a large amount of storage space and computing resources, which in turn incurs high operational cost. Data compression is essential to reduce the cost of log storage. Traditional compression tools (e.g., gzip) work well for general texts, but are not tailed for system logs. In this paper, we propose a novel and effective log compression method, namely logzip. Logzip is capable of extracting hidden structures from raw logs via fast iterative clustering and further generating coherent intermediate representations that allow for more effective compression. We evaluate logzip on five large log datasets of different system types, with a total of 63.6 GB in size. The results show that logzip can save about half of the storage space on average over traditional compression tools. Meanwhile, the design of logzip is highly parallel and only incurs negligible overhead. In addition, we share our industrial experience of applying logzip to Huawei's real products.
1
Across five large datasets totaling 63.6 GB, Logzip saves about half the storage space on average compared with traditional compression tools.
2
Logzip extracts hidden structures from raw system logs through fast iterative clustering.
3
Logzip is highly parallel and introduces only negligible computational overhead.
4
The method generates coherent intermediate representations that enable more effective compression than general-purpose tools such as gzip.
5
The paper reports industrial experience applying Logzip to Huawei’s real products.

system logs from large-scale software systems

hidden-structure extraction and compression performance, including storage savings and computational overhead

Publication Details
Publication Date
2019-11-01
Journal
Publisher
ISSN
Access Type
Author Information
Authors
Jinyang Liu
Jieming Zhu
Shilin He
Pinjia He
Zibin Zheng
Michael R. Lyu
Explore further
Open the scid.ai AI chat with a ready-made request: it will find papers on a similar topic and help build a literature review.
Find similar papers in the chat
Make a presentation
100%