8,644
Views
5
CrossRef citations to date
0
Altmetric
Research Article

BERT-Log: Anomaly Detection for System Logs Based on Pre-trained Language Model

& ORCID Icon
Article: 2145642 | Received 16 Aug 2022, Accepted 04 Nov 2022, Published online: 17 Nov 2022

Figures & data

Figure 1. BERT-Log architecture.

Figure 1. BERT-Log architecture.

Figure 2. Grouping raw logs into log sequence.

Figure 2. Grouping raw logs into log sequence.

Table 1. Log sequences parsed from HDFS dataset.

Figure 3. Comparison of sliding window between traditional method and our proposed method.

Figure 3. Comparison of sliding window between traditional method and our proposed method.

Table 2. Log sequences parsed from BGL dataset.

Figure 4. Log encoders architecture.

Figure 4. Log encoders architecture.

Figure 5. Structure for the log anomaly classifier.

Figure 5. Structure for the log anomaly classifier.

Table 3. Summary of log messages.

Table 4. Parameters of BERT-Log.

Table 5. Evaluation on HDFS dataset.

Table 6. Evaluation on BGL dataset.

Table 7. Evaluation on HDFS dataset by Pre-trained Language Model.

Table 8. Evaluation on HDFS dataset by Dataset Size.

Table 9. Evaluation on BGL dataset by training ratio.

Figure 6. ROC curve comparison.

Figure 6. ROC curve comparison.