LogPTR: 基于指针网络的变量感知日志解析
LogPTR: Variable-Aware Log Parsing with Pointer Network
AI总结:
LogPTR通过将日志解析视为文本摘要问题,利用指针网络提取日志中的静态和动态部分并识别变量类别,优于现有日志解析器。
摘要:
由于软件日志的体量庞大,开发者依赖自动化日志分析。日志解析,即解析半结构化日志为结构化格式,是自动化日志分析的前提。然而,现有日志解析器在实践中效果不佳,因为它们1) 忽略了变量的类别,2) 需要大量劳动强度的模型调优。为了解决这些局限性,我们提出了LogPTR,一种能够提取日志中的静态和动态部分,并进一步识别变量类别的变量感知日志解析器。LogPTR的关键在于将日志解析视为文本摘要问题,并使用指针机制从日志消息中复制单词,并标记表示变量类别的标记。在广泛使用的基准数据集上的实验结果表明,LogPTR在通用日志解析(提取日志模板)和变量感知日志解析(进一步识别变量类别)方面均优于最先进的日志解析器。
英文摘要:
Due to the sheer size of software logs, developers rely on automated log analysis. Log parsing, which parses semi-structured logs into a structured format, is a prerequisite of automated log analysis. However, existing log parsers are unsatisfactory when applied in practice because they 1) ignore categories of variables, and 2) need labor-intensive model tuning. To address these limitations, we propose LogPTR, a variable-aware log parser that can extract the static and dynamic parts in logs, and further identify categories of variables. The key of LogPTR is formulating log parsing as a text summarization problem and using a pointer mechanism to copy words from the log message and label tokens indicating categories of variables. The experimental results on widely-used benchmark datasets show that LogPTR outperforms state-of-the-art log parsers on both general log parsing that extracts log templates and variable-aware log parsing that further identifies categories of variables.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。