AutoLog:一种用于异常检测的日志序列合成框架
AutoLog: A Log Sequence Synthesis Framework for Anomaly Detection
AI总结:
针对异常检测日志数据稀缺问题,提出 AutoLog 框架,通过程序分析、调用图剪枝与标签传播合成可控日志序列,并在 50 个 Java 项目上验证其覆盖与生成效率优势。
摘要:
现代计算系统的快速发展使人们对信息丰富的运行时日志的兴趣日益增长。为确保软件可靠性,研究者已提出各种基于日志的异常检测技术。然而,由于缺乏作为训练数据集的高质量公共日志资源,这些技术在工业界的落地应用仍然有限。尽管已有一些可用于异常检测的日志数据集,但它们存在以下局限:(1)日志事件的全面性不足;(2)跨不同系统的可扩展性不足;(3)日志用途的灵活性不足。为解决这些局限,我们提出 AutoLog,这是首个面向异常检测的自动化日志生成方法。AutoLog 利用程序分析,在不实际运行系统的情况下生成运行时日志序列。AutoLog 首先探测与应用调用图相关联的全面日志语句;随后,在对调用图进行剪枝后,为每个方法构造执行图,以可扩展的方式找到与日志相关的执行路径;最后,AutoLog 基于人工知识将异常标签传播到每条获取的执行路径。它通过沿日志执行路径遍历并使用可控参数,生成灵活的日志序列。在 50 个流行 Java 项目上的实验表明,与同一系统上的现有日志数据集相比,AutoLog 获取的日志事件显著更多(9 倍至 58 倍),并且在单台机器上生成日志消息的速度比现有被动数据收集方法快得多(15 倍)。我们希望 AutoLog 能够促进自动化日志分析技术的基准测试与采用。
英文摘要:
The rapid progress of modern computing systems has led to a growing interest in informative run-time logs. Various log-based anomaly detection techniques have been proposed to ensure software reliability. However, their implementation in the industry has been limited due to the lack of high-quality public log resources as training datasets. While some log datasets are available for anomaly detection, they suffer from limitations in (1) comprehensiveness of log events; (2) scalability over diverse systems; and (3) flexibility of log utility. To address these limitations, we propose AutoLog, the first automated log generation methodology for anomaly detection. AutoLog uses program analysis to generate run-time log sequences without actually running the system. AutoLog starts with probing comprehensive logging statements associated with the call graphs of an application. Then, it constructs execution graphs for each method after pruning the call graphs to find log-related execution paths in a scalable manner. Finally, AutoLog propagates the anomaly label to each acquired execution path based on human knowledge. It generates flexible log sequences by walking along the log execution paths with controllable parameters. Experiments on 50 popular Java projects show that AutoLog acquires significantly more (9x-58x) log events than existing log datasets from the same system, and generates log messages much faster (15x) with a single machine than existing passive data collection approaches. We hope AutoLog can facilitate the benchmarking and adoption of automated log analysis techniques.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。