Skip to content

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

License

Notifications You must be signed in to change notification settings

LSaga/LogReducer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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 /path/xx.log

Step 1: Training(Generate template at ./template/)

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

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

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

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 65.7%
  • C++ 32.5%
  • C 1.5%
  • Makefile 0.3%