University of Limerick
Browse

Impact of log parsing on deep learning-based anomaly detection

Download (1.08 MB)
journal contribution
posted on 2024-08-23, 08:11 authored by Zanis Ali KhanZanis Ali Khan, Donghwan ShinDonghwan Shin, Domenico Bianculli, Lionel C BriandLionel C Briand

Software systems log massive amounts of data, recording important runtime information. Such logs are used, for example, for log-based anomaly detection, which aims to automatically detect abnormal behaviors of the system under analysis by processing the information recorded in its logs. Many log-based anomaly detection techniques based on deep learning models include a pre-processing step called log parsing. However, understanding the impact of log parsing on the accuracy of anomaly detection techniques has received surprisingly little attention so far. Investigating what are the key properties log parsing techniques should ideally have to help anomaly detection is therefore warranted. In this paper, we report on a comprehensive empirical study on the impact of log parsing on anomaly detection accuracy, using 13 log parsing techniques, seven anomly detection techniques (five based on deep learning and two based on traditional machine learning) on three publicly available log datasets. Our empirical results show that, despite what is widely assumed, there is no strong correlation between log parsing accuracy and anomaly detection accuracy, regardless of the metric used for measuring log parsing accuracy. Moreover, we experimentally confirm existing theoretical results showing that it is a property that we refer to as distinguishability in log parsing results—as opposed to their accuracy—that plays an essential role in achieving accurate anomaly detection.

Funding

Lero - the Irish Software Research Centre

Science Foundation Ireland

Find out more...

History

Publication

Empirical Software Engineering 29, 139

Publisher

Springer

Also affiliated with

  • LERO - The Science Foundation Ireland Research Centre for Software

Department or School

  • Computer Science & Information Systems

Usage metrics

    University of Limerick

    Exports

    RefWorks
    BibTeX
    Ref. manager
    Endnote
    DataCite
    NLM
    DC