arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 2504.02172cs.SE
收藏

LogLSHD:基于局部敏感哈希和动态时间规整的快速日志解析

LogLSHD: Fast Log Parsing with Locality-Sensitive Hashing and Dynamic Time Warping

Shu-Wei Huang, Xingfang Wu, Heng Li

AI总结:

本文提出日志解析方法 LogLSHD,结合局部敏感哈希和动态时间规整技术,在提升模板提取准确率的同时大幅缩短解析时间。

摘要:

大规模软件系统会产生大量系统日志,这些日志对于监控、诊断和性能优化至关重要。然而,日志的非结构化特性和不断增长的规模给人工分析以及异常检测等下游自动化任务带来了重大挑战。日志解析通过将原始日志转换为结构化格式来解决这些挑战,从而实现高效的日志分析。尽管日志解析十分重要,但由于日志数据量庞大且格式异构,现有的日志解析方法在效率和可扩展性方面存在局限性。为了克服这些挑战,本研究提出了一种日志解析方法 LogLSHD,该方法利用局部敏感哈希(LSH)对相似日志进行分组,并集成动态时间规整(DTW)以提高模板提取的准确性。LogLSHD 在解析时间上展现出卓越的效率,显著优于现有最先进的方法。例如,与 Drain 相比,LogLSHD 在 LogHub 2.0 基准测试上将平均解析时间减少了 73%,同时平均解析准确率提高了 15%。

英文摘要:

Large-scale software systems generate vast volumes of system logs that are essential for monitoring, diagnosing, and performance optimization. However, the unstructured nature and ever-growing scale of these logs present significant challenges for manual analysis and automated downstream tasks such as anomaly detection. Log parsing addresses these challenges by converting raw logs into structured formats, enabling efficient log analysis. Despite its importance, existing log parsing methods suffer from limitations in efficiency and scalability, due to the large size of log data and their heterogeneous formats. To overcome these challenges, this study proposes a log parsing approach, LogLSHD, which leverages Locality-Sensitive Hashing (LSH) to group similar logs and integrates Dynamic Time Warping (DTW) to enhance the accuracy of template extraction. LogLSHD demonstrates exceptional efficiency in parsing time, significantly outperforming state-of-the-art methods. For example, compared to Drain, LogLSHD reduces the average parsing time by 73% while increasing the average parsing accuracy by 15% on the LogHub 2.0 benchmark.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑