Detecting anomalies in log files using the Damerau-Levenshtein distance metric

Read full text
Authors: Gábor Horváth, András Mészáros, Kamel Charaf, Péter Szilágyi
Cited by: 0
References: 21

Abstract

Abstract In recent decades, significant research effort has been put into developing solutions to support automatized or semi-automatized analysis of log files. A large number of algorithms appeared based on neural networks. In this paper we introduce a new approach to anomaly detection in log files, that does not rely on neural networks. The building blocks of our approach have been well-known in machine learning for a long time. We propose to use a weighted Damerau-Levenshtein distance metric to quantify the similarity between log sequences. We introduce a kNN-based algorithm for semi-supervised log anomaly detection, and an HDBSCAN-based solution for the unsupervised problem. For the latter, we extend the algorithm by incorporating a manual feedback mechanism, enabling human domain experts to modify sequence labels when necessary.

Fields of Study & Subjects

Software System Performance and Reliability Anomaly Detection Techniques and Applications Network Security and Intrusion Detection

Publication details

Journal / source
Data Mining and Knowledge Discovery
Volume
40
Issue
1
Publication date
1 January 2026
Language
EN