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

作为云服务的自适应高效日志解析

Adaptive and Efficient Log Parsing as a Cloud Service

Zeyan Li, Jie Song, Tieying Zhang, Tao Yang, Xiongjun Ou, Yingjie Ye, Pengfei Duan, Muchen Lin, Jianjun Chen

AI总结:

本文提出面向云环境的ByteBrain-LogParser日志解析框架,通过层次聚类与位置相似度、去重和哈希编码优化,实现每秒处理22.9万条日志,较最快基线加速840%且保持领先准确率。

摘要:

日志是云系统的关键数据来源,支撑监控、告警和根因分析等高级功能。然而,非结构化日志的庞大规模和多样格式给可适应、高效且准确的解析方法带来了挑战。本文介绍ByteBrain-LogParser,一个专为云环境设计的创新日志解析框架。ByteBrain-LogParser采用层次聚类算法以支持实时精度调整,并结合位置相似度距离、去重和哈希编码等优化手段来提升性能。在大规模数据集上的实验表明,该框架平均每秒处理229,000条日志,相比最快基线实现了840%的加速,同时保持与最先进方法相当的准确率。真实环境评估进一步验证了其效率和适应性,展示了其作为稳健的基于云的日志解析解决方案的潜力。

英文摘要:

Logs are a critical data source for cloud systems, enabling advanced features like monitoring, alerting, and root cause analysis. However, the massive scale and diverse formats of unstructured logs pose challenges for adaptable, efficient, and accurate parsing methods. This paper introduces ByteBrain-LogParser, an innovative log parsing framework designed specifically for cloud environments. ByteBrain-LogParser employs a hierarchical clustering algorithm to allow real-time precision adjustments, coupled with optimizations such as positional similarity distance, deduplication, and hash encoding to enhance performance. Experiments on large-scale datasets show that it processes 229,000 logs per second on average, achieving an 840% speedup over the fastest baseline while maintaining accuracy comparable to state-of-the-art methods. Real-world evaluations further validate its efficiency and adaptability, demonstrating its potential as a robust cloud-based log parsing solution.

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

↑