SkillAgentSearch skills...

LogReducer

Open-source code for "On the Feasibility of Parser-based Log Compression in Large-Scale Cloud Systems" (USENIX FAST 2021)

Install / Use

/learn @THUBear-wjy/LogReducer
About this skill

Quality Score

0/100

Supported Platforms

Universal

README

LogReducer

Open-source code for "On the Feasibility of Parser-based Log Compression in Large-Scale Cloud Systems" (USENIX FAST 2021)

Dependency

python >= 3.8.5

pandas >= 1.1.1

six >= 1.15

numpy >= 1.19

gcc >= 7.4.0

7z >= 16.02

Log Sample

Samples of large scale cloud logs can be found at:

https://github.com/THUBear-wjy/openSample

Compile

make

Execution

Assume the path of target log file is <em>/path/xx.log</em>

Step 1: Training(Generate template at <em>./template/</em>)

python3 training.py -I /path/xx.log -T ./template/

Step 2: Compression(Using template at <em>./template/</em> and generate result at <em>./out/</em>)

python3 LogReducer.py -I /path/xx.log -T ./template/ -O ./out/

Decompression

Assume the path of compressed log file is ./out/ and the original file is /path/xx.log. The template to compress file is ./template/

python3 LogRestore.py -I ./out/ -T ./template/ -O ./xx.log

Related Skills

View on GitHub
GitHub Stars35
CategoryDevelopment
Updated5mo ago
Forks6

Languages

Python

Security Score

87/100

Audited on Oct 11, 2025

No findings