AS-Parser: Log Parsing Based on Adaptive Segmentation
Xiaolei Chen, Peng Wang, Jia Chen, Wei Wang
Abstract
System logs have long been recognized as valuable data for analyzing and diagnosing system failures. One fundamental task of log processing is to convert unstructured logs into structured logs through log parsing. All previous log parsing approaches follow a general framework that first segments each log into a token sequence and then computes similarity between two sequences. However, all existing approaches share the common drawback: the flat segmentation with fixed delimiters fails to understand the structural information of logs, which causes low parsing accuracy. To address this problem, we propose a novel log parsing approach, AS-Parser. Our approach introduces a hierarchical log segmentation mechanism that can adaptively segment logs into a tree structure. It can automatically recognize the appropriate delimiters and capture the common structural information. Moreover, we propose three improvements that enhance both the effectiveness and efficiency of our approach. On the public benchmark, AS-Parser performs best on 14 out of 16 datasets, with an average parsing accuracy of 0.943, far exceeding existing approaches.
Ask about this paper
Ask your agent about it.
Lune has read the top-tier papers around this one, so every answer names the papers it rests on.
Your agent calls
Lunesearch_papers
Free to start. No credit card required.
Terminal
Install the CLIlune papers get e61b4b57-7ab5-4918-ae1c-1ac4f62cf79eCited by top-tier papers1
Ask how each one uses itRelated papers
- UniParser: A Unified Log Parser for Heterogeneous Log DataYudong Liu, Xu Zhang, Shilin He, Hongyu Zhang et al.WWW 2022 · 148 citations
- Log Parsing with Generalization Ability under New Log TypesSiyu Yu, Yifan Wu, Zhijing Li, Pinjia He et al.FSE 2023 · 14 citations
- SLGParser: Practical and Efficient Label-Free Log Parsing Using Large Language ModelsYibing Hu, Cong Wang, Lixin Zhao, Aimin YuICDE 2026
- SemParser: A Semantic Parser for Log AnalyticsYintong Huo, Yuxin Su, Cheryl Lee, Michael R. LyuICSE 2023 · 51 citations
- EPAS: Efficient Online Log Parsing via Asynchronous Scheduling of LLM QueriesXiaolei Chen, Jia Chen, Jie Shi, Peng Wang et al.ICDE 2025 · 3 citations
