DLogParser: An Efficient Dynamic Log Parser with Multiple Grouping Criteria
Most existing log parsers are static. When parsing logs with a static parser, the accuracy tends to fluctuate significantly. To overcome this issue, this paper proposes a dynamic log parser named DLogParser. The core idea of DLogParser is to select different parsing policies based on log features. DLogParser first parses a small batch of sample log messages, then analyzes log characteristics from the parsing results, and determines an appropriate parsing policy for the current logs. Then it parses all remaining logs according to the determined policy. To support dynamic parsing policies, DLogParser incorporates 5 grouping criteria for log features, including length, punctuation, first token, last token, and key token, and establishes 7 rules for parsing policy generation. We evaluated DLogParser on public datasets from LogHub. The experimental results demonstrate that compared to 11 existing log parsers, DLogParser achieves an accuracy of 90.3% with an acceptable performance loss.
Authors
- Yongwei Wang (ORCID: https://orcid.org/0000-0003-3165-8852)
- Yuan Jinhui (ORCID: https://orcid.org/0000-0002-0700-2645)
- Chao Wang (ORCID: https://orcid.org/0000-0003-4887-923X)
- Yucheng Zhang
- Hongwei Zhou
Institutions
- Zhongyuan University of Technology (CN)
- Zhejiang Science and Technology Information Institute (CN)
Publication Details
- Journal
- Applied Sciences
- Published
- 2026-01-13
- DOI
- https://doi.org/10.3390/app16020811
- Primary Topic
- Software System Performance and Reliability
- Type
- article
- Field-Weighted Citation Impact
- 0.00
Funders
- National Natural Science Foundation of China