2023 · 18 citations · 40 references
ComputingComputer ScienceComputer SystemsFault-tolerant ComputingFault-tolerant SystemsOperating SystemsLog AnalysisLog ManagementProduction LoggingLog StorageLog-based DetectionLoggingLogging OverheadStorage Overhead Optimization
Modern systems generate a massive amount of logs to detect and diagnose system faults, which incurs expensive storage costs and runtime overhead. After investigating real-world production logs, we observe that most of the logging overhead is due to a small number of log templates, referred to as log hotspots. Therefore, we conduct a systematical study about log hotspots in an industrial system WeChat, which motivates us to identify log hotspots and reduce them on the fly. In this paper, we propose LogReducer, a non-intrusive and language-independent log reduction framework based on eBPF (Extended Berkeley Packet Filter), consisting of both online and offline processes. After two months of serving the offline process of LogReducer in WeChat, the log storage overhead has dropped from 19.7 PB per day to 12.0 PB (i.e., about a 39.08% decrease). Practical implementation and experimental evaluations in the test environment demonstrate that the online process of LogReducer can control the logging overhead of hotspots while preserving logging effectiveness. Moreover, the log hotspot handling time can be reduced from an average of 9 days in production to 10 minutes in the test with the help of LogReducer,
40
Drain: An Online Log Parsing Approach with Fixed Depth Tree
Pinjia He, Jieming Zhu, Zibin Zheng et al. · 2017 · 813 citations
Tools and Benchmarks for Automated Log Parsing
Jieming Zhu, Shilin He, Jinyang Liu et al. · 2019 · 514 citations
Liang Tang, Tao Li, Chang-Shing Perng · 2011 · 243 citations
Where do developers log? an empirical study on logging practices in industry
Qiang Fu, Jieming Zhu, Wenlu Hu et al. · 2014 · 233 citations