Please use this identifier to cite or link to this item:
https://hdl.handle.net/10356/181426
Title: | Leveraging large language models and BERT for log parsing and anomaly detection | Authors: | Zhou, Yihan Chen, Yan Rao, Xuanming Zhou, Yukang Li, Yuxin Hu, Chao |
Keywords: | Computer and Information Science | Issue Date: | 2024 | Source: | Zhou, Y., Chen, Y., Rao, X., Zhou, Y., Li, Y. & Hu, C. (2024). Leveraging large language models and BERT for log parsing and anomaly detection. Mathematics, 12(17), 12172758-. https://dx.doi.org/10.3390/math12172758 | Journal: | Mathematics | Abstract: | Computer systems and applications generate large amounts of logs to measure and record information, which is vital to protect the systems from malicious attacks and useful for repairing faults, especially with the rapid development of distributed computing. Among various logs, the anomaly log is beneficial for operations and maintenance (O&M) personnel to locate faults and improve efficiency. In this paper, we utilize a large language model, ChatGPT, for the log parser task. We choose the BERT model, a self-supervised framework for log anomaly detection. BERT, an embedded transformer encoder, with a self-attention mechanism can better handle context-dependent tasks such as anomaly log detection. Meanwhile, it is based on the masked language model task and next sentence prediction task in the pretraining period to capture the normal log sequence pattern. The experimental results on two log datasets show that the BERT model combined with an LLM performed better than other classical models such as Deelog and Loganomaly. | URI: | https://hdl.handle.net/10356/181426 | ISSN: | 2227-7390 | DOI: | 10.3390/math12172758 | Schools: | School of Computer Science and Engineering | Rights: | © 2024 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https:// creativecommons.org/licenses/by/ 4.0/). | Fulltext Permission: | open | Fulltext Availability: | With Fulltext |
Appears in Collections: | SCSE Journal Articles |
Files in This Item:
File | Description | Size | Format | |
---|---|---|---|---|
mathematics-12-02758-v2.pdf | 2.86 MB | Adobe PDF | View/Open |
Page view(s)
142
Updated on Jan 23, 2025
Download(s)
63
Updated on Jan 23, 2025
Google ScholarTM
Check
Altmetric
Items in DR-NTU are protected by copyright, with all rights reserved, unless otherwise indicated.