paperbot · PL 论文追踪

全部论文 待读 收藏

P2 PILAR: Studying and Mitigating the Influence of Configurations on Log Parsing

PILAR:研究与缓解配置对日志解析的影响
ICSE 2023 IEEE/ACM 45th International Conference on Software Engineering (ICSE)2023匹配度 2/10 · 论文聚焦日志解析中的参数敏感性与鲁棒性,属于软件工程/开发者工具方向,与用户核心关注的静态分析、Agentic LLM 程序、浮点程序分析及贝叶斯程序分析均无直接交叉。仅在“工具在真实场景中的参数鲁棒性/落地挑战”这一点上与用户对工业落地的兴趣有微弱关联。引用 20 inbox
Hetong Dai, Yiming Tang, Heng Li, Weiyi Shang
crossref: 2026-09-12dblp: 2026-09-12

AI 速览

一句话:实证揭示日志解析器对参数敏感,并提出基于熵的参数不敏感解析器PILAR。

日志在软件工程任务中日益重要,许多日志分析技术依赖结构化日志,而原始日志通常非结构化,自动日志解析因此用于将其转换为日志模板。现有解析器虽有较好准确率,但需用户大量调参才能达到最优。本文先对六种先进日志解析器开展实证研究,从相同数据集变参数、相同参数换数据集、同数据集不同采样三方面分析配置影响,发现它们均对参数敏感,阻碍实践采用。为缓解该问题,作者提出基于熵的日志解析方法PILAR。在相同三方面与现有解析器比较,PILAR参数不敏感性最佳,且解析准确率和效率在先进解析器中排名第二,为降低日志分析落地门槛提供了路径。

问题
现有自动日志解析器依赖用户调参,且解析结果对配置参数高度敏感,影响实际采用。
方法
通过实证研究六种先进解析器在三方面的参数敏感性,并提出基于熵的参数不敏感日志解析方法 PILAR。
评估
在相同数据集变参、换数据集和采样变化三方面与现有解析器比较,评估参数敏感性、解析准确率与效率。
原文摘要(Abstract)

The significance of logs has been widely acknowledged with the adoption of various log analysis techniques that assist in software engineering tasks. Many log analysis techniques require structured logs as input while raw logs are typically unstructured. Automated log parsing is proposed to convert unstructured raw logs into structured log templates. Some log parsers achieve promising accuracy, yet they rely on significant efforts from the users to tune the parameters to achieve optimal results. In this paper, we first conduct an empirical study to understand the influence of the configurable parameters of six state-of-the-art log parsers on their parsing results on three aspects: 1) varying the parameters while using the same dataset, 2) keeping the same parameters while using different datasets, and 3) using different samples from the same dataset. Our results show that all these parsers are sensitive to the parameters, posing challenges to their adoption in practice. To mitigate such challenges, we propose PILAR (Parameter Insensitive Log Parser), an entropy-based log parsing approach. We compare PILAR with the existing log parsers on the same three aspects and find that PILAR is the most parameter-insensitive one. In addition, PILAR achieves the second highest parsing accuracy and efficiency among all the state-of-the-art log parsers. This paper paves the road for easing the adoption of log analysis in software engineer practices.

链接与引用

DOI 原文 · DBLP

BibTeX
@inproceedings{DaiTLS23,
  title = {PILAR: Studying and Mitigating the Influence of Configurations on Log Parsing},
  author = {Hetong Dai and Yiming Tang and Heng Li and Weiyi Shang},
  booktitle = {ICSE},
  year = {2023},
  doi = {10.1109/icse48619.2023.00077}
}