Saved in:
Bibliographic Details
Main Authors: Lu, Jiawei, Wu, Chengrong
Format: Preprint
Published: 2024
Subjects:
Online Access:https://arxiv.org/abs/2411.15250
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866929601899397120
author Lu, Jiawei
Wu, Chengrong
author_facet Lu, Jiawei
Wu, Chengrong
contents Log-system is an important mechanism for recording the runtime status and events of Web service systems, and anomaly detection in logs is an effective method of detecting problems. However, manual anomaly detection in logs is inefficient, error-prone, and unrealistic. Existing log anomaly detection methods either use the indexes of event templates, or form vectors by embedding the fixed string part of the template as a sentence, or use time parameters for sequence analysis. However, log entries often contain features and semantic information that cannot be fully represented by these methods, resulting in missed and false alarms. In this paper, we propose TPLogAD, a universal unsupervised method for analyzing unstructured logs, which performs anomaly detection based on event templates and key parameters. The itemplate2vec and para2vec included in TPLogAD are two efficient and easy-to-implement semantic representation methods for logs, detecting anomalies in event templates and parameters respectively, which has not been achieved in previous work. Additionally, TPLogAD can avoid the interference of log diversity and dynamics on anomaly detection. Our experiments on four public log datasets show that TPLogAD outperforms existing log anomaly detection methods.
format Preprint
id arxiv_https___arxiv_org_abs_2411_15250
institution arXiv
publishDate 2024
record_format arxiv
spellingShingle TPLogAD: Unsupervised Log Anomaly Detection Based on Event Templates and Key Parameters
Lu, Jiawei
Wu, Chengrong
Machine Learning
Artificial Intelligence
Computation and Language
Computers and Society
Log-system is an important mechanism for recording the runtime status and events of Web service systems, and anomaly detection in logs is an effective method of detecting problems. However, manual anomaly detection in logs is inefficient, error-prone, and unrealistic. Existing log anomaly detection methods either use the indexes of event templates, or form vectors by embedding the fixed string part of the template as a sentence, or use time parameters for sequence analysis. However, log entries often contain features and semantic information that cannot be fully represented by these methods, resulting in missed and false alarms. In this paper, we propose TPLogAD, a universal unsupervised method for analyzing unstructured logs, which performs anomaly detection based on event templates and key parameters. The itemplate2vec and para2vec included in TPLogAD are two efficient and easy-to-implement semantic representation methods for logs, detecting anomalies in event templates and parameters respectively, which has not been achieved in previous work. Additionally, TPLogAD can avoid the interference of log diversity and dynamics on anomaly detection. Our experiments on four public log datasets show that TPLogAD outperforms existing log anomaly detection methods.
title TPLogAD: Unsupervised Log Anomaly Detection Based on Event Templates and Key Parameters
topic Machine Learning
Artificial Intelligence
Computation and Language
Computers and Society
url https://arxiv.org/abs/2411.15250