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/LogReducerREADME
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
node-connect
352.2kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
111.1kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
352.2kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
352.2kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
