关于凝聚力与分离的故事:一种无标签的日志解析器评估度量标准
A Story About Cohesion and Separation: Label-Free Metric for Log Parser Evaluation
AI总结:
本文提出PMSS,一种无标签的日志解析器评估度量标准,用于评估解析器性能,通过medoid轮廓分析和Levenshtein距离实现,与基于标签的指标FGA和FTA具有正相关性,为日志解析器评估提供了新的方法。
摘要:
日志解析将日志信息转换为结构化的事件模板,从而实现自动化日志分析并减少人工检查的工作量。为了选择最适合特定系统的解析器,通常使用多种评估指标进行性能比较。然而,现有的评估指标严重依赖于标记的日志数据,这限制了先前研究只能在固定的数集中进行,阻碍了工业中解析器的评估和选择。此外,我们发现现有研究中使用的不同版本的地面真相可能导致性能结论的一致性问题。受这些挑战的启发,我们提出了一种新颖的无标签模板级度量标准,即PMSS(解析器medoid轮廓分数),用于评估日志解析器的性能。PMSS在一般情况下以近线性时间复杂度进行解析器分组和模板质量的评估,使用medoid轮廓分析和Levenshtein距离。为了理解其与基于标签的模板级度量标准FGA和FTA之间的关系,我们比较了六个日志解析器在标准修正的Loghub 2.0数据集上的评估结果。我们的结果表明,获得最高PMSS或FGA的解析器在性能上具有可比性,FGA分数的平均差异仅为2.1%;对于FTA,差异为9.8%。PMSS与FGA和FTA之间存在显著(p<1e-8)且正相关的关联:PMSS-FGA和PMSS-FTA的Spearman相关系数分别为0.648和0.587,接近FGA和FTA之间的相关系数(0.670)。我们进一步讨论了如何从不同度量标准中解读结论,识别了使用PMSS的挑战,并提供了使用该度量标准进行解析器选择的指导方针。PMSS在地面真相不一致或标签不可用时提供了一种有价值的评估替代方案。
英文摘要:
Log parsing converts log messages into structured event templates, allowing for automated log analysis and reducing manual inspection effort. To select the most compatible parser for a specific system, multiple evaluation metrics are commonly used for performance comparisons. However, existing evaluation metrics heavily rely on labeled log data, which limits prior studies to a fixed set of datasets and hinders parser evaluations and selections in the industry. Further, we discovered that different versions of ground-truth used in existing studies can lead to inconsistent performance conclusions. Motivated by these challenges, we propose a novel label-free template-level metric, PMSS (parser medoid silhouette score), to evaluate log parser performance. PMSS evaluates both parser grouping and template quality with medoid silhouette analysis and Levenshtein distance within a near-linear time complexity in general. To understand its relationship with label-based template-level metrics, FGA and FTA, we compared their evaluation outcomes for six log parsers on the standard corrected Loghub 2.0 dataset. Our results indicate that log parsers achieving the highest PMSS or FGA exhibit comparable performance, differing by only 2.1% on average in terms of the FGA score; the difference is 9.8% for FTA. PMSS is also significantly (p<1e-8) and positively correlated to both FGA and FTA: the Spearman's rho correlation coefficient of PMSS-FGA and PMSS-FTA are respectively 0.648 and 0.587, close to the coefficient between FGA and FTA (0.670). We further extended our discussion on how to interpret the conclusions from different metrics, identifying challenges in using PMSS, and provided guidelines on conducting parser selections with our metric. PMSS provides a valuable evaluation alternative when ground-truths are inconsistent or labels are unavailable.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。