检测、定位与解释:基于LLM增强的交互式分层日志异常分析
Detect, Localize, and Explain: Interactive Hierarchical Log Anomaly Analytics with LLM Augmentation
AI总结:
本文提出Krone系统,通过分层日志抽象和 orchestration 框架,结合LLM推理实现日志异常的精准检测、定位与解释,提供交互式可视化工具支持软件工程师和系统运维人员进行可解释的分层日志分析。
摘要:
日志在现代系统中无处不在。不幸的是,其在扁平序列中的非结构化性质限制了执行行为的理解,阻碍了有效的异常诊断。为解决这一问题,Krone引入了一种新的分层日志抽象,将扁平日志序列转换为在实体、动作和状态层面语义连贯的单元。在此抽象基础上,Krone引入了分层 orchestration 框架,将扁平日志序列分解为分层执行单元,并在这些单元上进行模块化检测。它在不同层级上执行和优化模块化检测任务,通过选择性调用基于LLM的推理实现精确的异常检测、定位和解释。在本文中,我们介绍了基于Krone的交互式可视化系统Krone-viz,使分层日志分析变得可解释和可操作,为软件工程师和系统运维人员提供支持。在广泛使用的HDFS基准数据集上进行了演示,Krone-viz支持:1)检查扁平日志序列的分层分解;2)检查Krone通过LLM生成的解释所识别的检测结果和异常段;3)重用、审查和修订由LLM生成的知识,通过人机协同的guardrails进行监管。Krone-viz的代码可在https://github.com/LeiMa0324/KRONE_Demo_official获得,我们还部署了一个实时演示在https://leima0324.github.io/KRONE_Demo_official。
英文摘要:
Logs are ubiquitous in modern systems. Unfortunately, their unstructured nature in flat sequences limits understanding of execution behaviors, hindering effective anomaly diagnosis. To address this, Krone introduces a novel hierarchical log abstraction that transforms flat log sequences into semantically coherent units across entity, action, and status levels. Building on this abstraction, Krone introduces a hierarchical orchestration framework that decomposes flat log sequences into hierarchical execution units and performs modular detection over them. It executes and optimizes the modular detection tasks across levels, enabling precise anomaly detection, localization, and explanation with selective invocation of LLM-based reasoning. In this work, we present Krone-viz, an interactive visualization system based on Krone, which makes hierarchical log analysis interpretable and actionable for software engineers and system operators. Demonstrated on the widely used HDFS benchmark dataset, Krone-viz supports: 1) examining hierarchical decompositions of flat log sequences, 2) inspecting detection results and abnormal segments identified by Krone with LLM-generated explanations, and 3) reusing, reviewing, and revising knowledge generated by LLMs with human-in-the-loop guardrails. The code of Krone-viz is available at https://github.com/LeiMa0324/KRONE_Demo_official, and we deploy a live demo at https://leima0324.github.io/KRONE_Demo_official.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。