LogExpertSolver: A Multi-Agent Framework for Domain-Specialized Log Parsing

Chenxi Mao, Yuxin Su, Dan Li2025

Abstract

Log parsing, as a process of extracting structured information from semi-structured raw log data, is a crucial step in log analysis workflows. Rule-based parsing methods often overlook the rich semantic information contained in logs. Recently, LLM-based methods face three major challenges: 1) limited understanding of domain-specific logs due to lack of professional domain knowledge; 2) significant parsing costs and potential data privacy risks associated with commercial LLMs like ChatGPT; and 3) the Group Accuracy (GA) is highly susceptible to individual anomalous data. To address these challenges, we propose LogExpertSolver, a multi-agent framework for domain-specialized log parsing. This framework effectively reduces manual intervention in log parsing through inter-agent collaboration mechanisms. LogExpertSolver employs locally deployed medium-scale language models to construct multiple agents with diverse domain expertise. By decomposing complex log parsing tasks into a series of fine-grained subtasks, which are handled by corresponding expert agents, the framework achieves efficient log parsing. Through evaluation on the LogHub2.0 dataset, LogExpertSolver achieves an average Parsing Accuracy (PA) of 0.915, surpassing state-of-the-art parsers (LibreLog and LILAC) by 6.2% and 7.3% respectively.
BibTeX
@misc{mao2025logexpertsolver,
  author = {Chenxi Mao and Yuxin Su and Dan Li},
  title = {{LogExpertSolver: A Multi-Agent Framework for Domain-Specialized Log Parsing}},
  year = {2025},
  doi = {10.1109/apsec66846.2025.00108},
}

Loading related content...

Figure