SEAIFeb 28, 2024

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

arXiv:2402.18205v531 citationsh-index: 18Has Code
Originality Incremental advance
AI Analysis

This addresses the challenge of automating log analysis for software engineers by improving template identification, though it appears incremental as it builds on existing log parsing methods with new techniques.

The paper tackles the problem of log parsing for software system monitoring by introducing Lemur, a framework that uses entropy sampling and chain-of-thought merging with LLMs, achieving state-of-the-art performance and impressive efficiency on large-scale public datasets.

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 \textbf{L}og parsing framework with \textbf{E}ntropy sampling and chain-of-thought \textbf{M}erging (\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.

Code Implementations2 repos
Foundations

The foundational work for this paper's niche, ranked by how specifically the neighbourhood builds on it — not by global fame.

Your Notes