我们是否遗漏了重要信息?研究与探索变量感知的日志抽象
Did We Miss Something Important? Studying and Exploring Variable-Aware Log Abstraction
AI总结:
本文研究动态变量对日志分析的重要性,提出基于深度学习、可识别并保留指定类别变量的 VALB 日志抽象方法,在通用与变量感知抽象上均表现优异。
摘要:
由于软件日志规模庞大,开发人员依赖自动化技术进行日志分析。日志抽象是自动化日志分析最早且最重要的步骤之一,它将原始日志解析为结构化格式。以往的日志抽象技术旨在识别并抽象日志中的所有动态变量,并为自动化日志分析输出静态日志模板。然而,这些被抽象的动态变量也可能包含对日志分析中不同任务有用的重要信息。在本文中,我们研究了动态变量的特征及其在实践中的重要性,并探索了变量感知日志抽象技术的潜力。通过人工调查和对从业者的问卷调研,我们发现不同类别的动态变量记录了各种信息,这些信息根据给定任务可能具有重要性,而在日志抽象中区分动态变量可以进一步辅助日志分析。随后,我们提出了一种基于深度学习的日志抽象方法,名为 VALB,它能够识别不同类别的动态变量,并在保留日志模板的同时保留指定类别动态变量的值(即变量感知日志抽象)。通过在一个广泛使用的日志抽象基准上进行评估,我们发现 VALB 在通用日志抽象(即抽象所有动态变量时)方面优于其他最先进的日志抽象技术,并且在进一步识别动态变量类别的变量感知日志抽象上取得了较高准确率。我们的研究凸显了利用动态变量中记录的重要信息来进一步改进日志分析流程的潜力。
英文摘要:
Due to the sheer size of software logs, developers rely on automated techniques for log analysis. One of the first and most important steps of automated log analysis is log abstraction, which parses the raw logs into a structured format. Prior log abstraction techniques aim to identify and abstract all the dynamic variables in logs and output a static log template for automated log analysis. However, these abstracted dynamic variables may also contain important information that is useful to different tasks in log analysis. In this paper, we investigate the characteristics of dynamic variables and their importance in practice, and explore the potential of a variable-aware log abstraction technique. Through manual investigations and surveys with practitioners, we find that different categories of dynamic variables record various information that can be important depending on the given tasks, the distinction of dynamic variables in log abstraction can further assist in log analysis. We then propose a deep learning based log abstraction approach, named VALB, which can identify different categories of dynamic variables and preserve the value of specified categories of dynamic variables along with the log templates (i.e., variable-aware log abstraction). Through the evaluation on a widely used log abstraction benchmark, we find that VALB outperforms other state-of-the-art log abstraction techniques on general log abstraction (i.e., when abstracting all the dynamic variables) and also achieves a high variable-aware log abstraction accuracy that further identifies the category of the dynamic variables. Our study highlights the potential of leveraging the important information recorded in the dynamic variables to further improve the process of log analysis.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。