LogLead -- Fast and Integrated Log Loader, Enhancer, and Anomaly Detector
Preprint
Abstract
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/LogLeadKeywords
All Related Versions
This publication has 4 references indexed in Scilit:
- LogShrink: Effective Log Compression by Leveraging Commonality and Variability of Log Data2024
- On the effectiveness of log representation for log-based anomaly detectionEmpirical Software Engineering, 2023
- Deep learning for anomaly detection in log data: A surveyMachine Learning with Applications, 2023
- BERT: Pre-training of Deep Bidirectional Transformers for Language Understanding2019