arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2411.05533cs.SE
收藏

使用时间曲线可视化分析大规模软件系统日志

Analyzing Logs of Large-Scale Software Systems using Time Curves Visualization

Dmytro Borysenkov, Adriano Vogel, Sören Henning, Esteban Perez-Wohlfeil

AI总结:

本文提出结合聚类、LLM摘要、事件检测与多维尺度分析的 Time Curves 流水线,通过半度量距离可视化大规模软件日志,以提取主要事件、趋势和异常。

摘要:

日志对于分析大规模软件系统至关重要,可提供有关系统健康状况、性能、安全威胁、潜在错误等方面的洞察。然而,日志的混乱特性——表现为数量庞大、缺乏标准以及具有多变性——使人工分析变得复杂。聚类算法的使用可以通过将日志分组为较少的一组模板来提供帮助,但在此过程中会丢失时间和关系上下文。相反,大型语言模型(LLM)能够提供有意义的解释,却难以高效处理大量日志集合。此外,这两种方法的表示技术通常局限于纯文本或传统图表,在处理大规模系统时尤其如此。本文中,我们借助 Time Curves(时间曲线)将聚类和 LLM 摘要与事件检测及多维尺度分析相结合,形成一个整体流水线,能够高效、自动地摘要海量软件系统日志集合。我们方法的核心是提出一种半度量距离,用于有效衡量事件之间的相似性,从而实现有意义的表示。我们表明,该方法无需先验知识即可解释从不同应用收集的日志中的主要事件。我们还展示了如何通过叠加多个投影,使用该方法检测并行和分布式系统中的总体趋势及异常值。因此,我们预计该方法将显著减少分析和解决全系统问题、识别性能瓶颈和安全风险以及调试应用程序等所需的时间。

英文摘要:

Logs are crucial for analyzing large-scale software systems, offering insights into system health, performance, security threats, potential bugs, etc. However, their chaotic nature$\unicode{x2013}$characterized by sheer volume, lack of standards, and variability$\unicode{x2013}$makes manual analysis complex. The use of clustering algorithms can assist by grouping logs into a smaller set of templates, but lose the temporal and relational context in doing so. On the contrary, Large Language Models (LLMs) can provide meaningful explanations but struggle with processing large collections efficiently. Moreover, representation techniques for both approaches are typically limited to either plain text or traditional charting, especially when dealing with large-scale systems. In this paper, we combine clustering and LLM summarization with event detection and Multidimensional Scaling through the use of Time Curves to produce a holistic pipeline that enables efficient and automatic summarization of vast collections of software system logs. The core of our approach is the proposal of a semimetric distance that effectively measures similarity between events, thus enabling a meaningful representation. We show that our method can explain the main events of logs collected from different applications without prior knowledge. We also show how the approach can be used to detect general trends as well as outliers in parallel and distributed systems by overlapping multiple projections. As a result, we expect a significant reduction of the time required to analyze and resolve system-wide issues, identify performance bottlenecks and security risks, debug applications, etc.

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

↑