vix.ing · top · new · best · stats · spec

Lemur: Log Parsing with Entropy Sampling and Chain-of-Thought Merging

2024/02/28 by Wei Zhang, Zhang, Wei, Guan, Xiangyuan +7 · 3 citations
Computer Science · #Artificial Intelligence (cs.AI) #FOS: Computer and information sciences #Neural Networks and Applications #Software Engineering (cs.SE)

paper · pdf · doi:10.48550/arxiv.2402.18205

openalex publication_date 2024/02/28 · openalex created_date 2024/03/05 · openalex updated_date 2026/07/28

Abstract

Logs produced by extensive software systems are integral to monitoring system behaviors. Advanced log analysis facilitates the detection, alerting, and diagnosis of system faults. Log parsing, which entails transforming raw log messages into structured templates, constitutes a critical phase in the automation of log analytics. Existing log parsers fail to identify the correct templates due to reliance on human-made rules. Besides, these methods focus on statistical features while ignoring semantic information in log messages. To address these challenges, we introduce a cutting-edge Log parsing framework with Entropy sampling and chain-of-thought Merging (\model). Specifically, to discard the tedious manual rules, we propose a novel sampling method inspired by information entropy, which efficiently clusters typical logs. Furthermore, to enhance the merging of log templates, we design a chain-of-thought method for large language models (LLMs). LLMs exhibit exceptional semantic comprehension and deftly distinguish between parameters and invariant tokens. We have conducted experiments on large-scale public datasets. Extensive evaluation demonstrates that \model achieves state-of-the-art performance and impressive efficiency. The Code is available at https://github.com/zwpride/lemur.

Cited by

Related