LogBERT: Log Anomaly Detection via BERT

Haixuan Guo, Shuhan Yuan, Xintao Wu
3/7/2021
cs.CR
contrastive-ssl

Official code: HelenGuohx/logbert (366 stars, Python, MIT, last commit 2024-06-21).

Abstract

Detecting anomalous events in online computer systems is crucial to protect the systems from malicious attacks or malfunctions. System logs, which record detailed information of computational events, are widely used for system status analysis.

Show full abstract

In this paper, we propose LogBERT, a self-supervised framework for log anomaly detection based on Bidirectional Encoder Representations from Transformers (BERT). LogBERT learns the patterns of normal log sequences by two novel self-supervised training tasks and is able to detect anomalies where the underlying patterns deviate from normal log sequences. The experimental results on three log datasets show that LogBERT outperforms state-of-the-art approaches for anomaly detection.

View on arXivView PDF

Code Implementations(1)

HelenGuohx/logbertOfficial100%
MIT

log anomaly detection via BERT

366133Python, Jupyter NotebookDec 5, 20202 years agoMIT

Similar Papers

Cite this paper

@article{guo2021logbert,
  title  = {LogBERT: Log Anomaly Detection via BERT},
  author = {Haixuan Guo and Shuhan Yuan and Xintao Wu},
  year   = {2021},
  eprint = {2103.04475},
  archivePrefix = {arXiv},
  url    = {https://arxiv.org/abs/2103.04475}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2103.04475.svg)](https://codeofpaper.com/paper/2103.04475)

Discussion