LogLead——快速且集成的日志加载器、增强器与异常检测器
LogLead -- Fast and Integrated Log Loader, Enhancer, and Anomaly Detector
AI总结:
本文提出集成日志加载、增强与异常检测的工具 LogLead,支持多系统数据集、多种日志表示及九类机器学习算法,并在加载和解析速度上取得显著提升。
摘要:
本文介绍 LogLead,这是一款为高效日志分析基准测试而设计的工具。LogLead 结合了日志处理中的三个关键步骤:加载、增强和异常检测。该工具利用高速 DataFrame 库 Polars。我们目前为八个公开可用的系统提供加载器:HDFS、Hadoop、BGL、Thunderbird、Spirit、Liberty、TrainTicket 和 GC Webshop。我们提供多种增强器,包含三个解析器(Drain、Spell、LenMa)、BERT 嵌入创建以及词袋等其他日志表示技术。LogLead 集成了来自 SKLearn 的五种监督式和四种非监督式机器学习异常检测算法。通过集成多样化的数据集、日志表示方法和异常检测器,LogLead 促进了日志分析研究中的全面基准测试。我们表明,与以往解决方案相比,使用 LogLead 将日志从原始文件加载到 DataFrame 的速度快 10 倍以上。我们证明,通过将日志消息规范化卸载给 LogLead,Drain 解析速度约提升 2 倍。我们在 HDFS 上的简要基准测试表明,超越词袋方法的日志表示只能带来有限的额外收益。工具网址:https://github.com/EvoTestOps/LogLead
英文摘要:
This paper introduces LogLead, a tool designed for efficient log analysis benchmarking. LogLead combines three essential steps in log processing: loading, enhancing, and anomaly detection. The tool leverages Polars, a high-speed DataFrame library. We currently have Loaders for eight systems that are publicly available (HDFS, Hadoop, BGL, Thunderbird, Spirit, Liberty, TrainTicket, and GC Webshop). We have multiple enhancers with three parsers (Drain, Spell, LenMa), Bert embedding creation and other log representation techniques like bag-of-words. LogLead integrates to five supervised and four unsupervised machine learning algorithms for anomaly detection from SKLearn. By integrating diverse datasets, log representation methods and anomaly detectors, LogLead facilitates comprehensive benchmarking in log analysis research. We show that log loading from raw file to dataframe is over 10x faster with LogLead compared to past solutions. We demonstrate roughly 2x improvement in Drain parsing speed by off-loading log message normalization to LogLead. Our brief benchmarking on HDFS indicates that log representations extending beyond the bag-of-words approach offer limited additional benefits. Tool URL: https://github.com/EvoTestOps/LogLead
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。