Searching for just a few words should be enough to get started. If you need to make more complex queries, use the tips below to guide you.
Article type: Research Article
Authors: Cao, Jinhuia; b | Di, Xiaoqianga; b; c; * | Liu, Xua; b | Xu, Ruia; b | Li, Jinqinga; b | Ren, Weiwua; b | Qi, Huia; b | Hu, Pengfeid | Zhang, Kehana; b | Li, Boa; b
Affiliations: [a] School of Computer Science and Technology, Changchun University of Science and Technology, Changchun, Jilin, China | [b] Jilin Province Key Laboratory of Network and Information Security,Changchun University of Science and Technology, Changchun, Jilin, China | [c] Information Center, Changchun University of Science and Technology, Changchun, Jilin, China | [d] School of Computer Science and Technology, Shandong University, Qingdao, Shandong, China
Correspondence: [*] Corresponding author: Xiaoqiang Di, School of Computer Science and Technology, Changchun University of Science and Technology, Changchun, Jilin, China. E-mail: dixiaoqiang@cust.edu.cn.
Abstract: Logs play an important role in anomaly detection, fault diagnosis, and trace checking of software and network systems. Log parsing, which converts each raw log line to a constant template and a variable parameter list, is a prerequisite for system security analysis. Traditional parsing methods utilizing specific rules can only parse logs of specific formats, and most parsing methods based on deep learning require labels. However, the existing parsing methods are not applicable to logs of inconsistent formats and insufficient labels. To address these issues, we propose a robust Log parsing method based on Self-supervised Learning (LogSL), which can extract templates from logs of different formats. The essential idea of LogSL is modeling log parsing as a multi-token prediction task, which makes the multi-token prediction model learn the distribution of tokens belonging to the template in raw log lines by self-supervision mode. Furthermore, to accurately predict the tokens of the template without labeled data, we construct a Multi-token Prediction Model (MPM) combining the pre-trained XLNet module, the n-layer stacked Long Short-Term Memory Net module, and the Self-attention module. We validate LogSL on 12 benchmark log datasets, resulting in the average parsing accuracy of our parser being 3.9% higher than that of the best baseline method. Experimental results show that LogSL has superiority in terms of robustness and accuracy. In addition, a case study of anomaly detection is conducted to demonstrate the support of the proposed MPM to system security tasks based on logs.
Keywords: System security, data analysis, log parsing, deep learning, self-supervised learning
DOI: 10.3233/IDA-230133
Journal: Intelligent Data Analysis, vol. 28, no. 4, pp. 1093-1113, 2024
IOS Press, Inc.
6751 Tepper Drive
Clifton, VA 20124
USA
Tel: +1 703 830 6300
Fax: +1 703 830 2300
sales@iospress.com
For editorial issues, like the status of your submitted paper or proposals, write to editorial@iospress.nl
IOS Press
Nieuwe Hemweg 6B
1013 BG Amsterdam
The Netherlands
Tel: +31 20 688 3355
Fax: +31 20 687 0091
info@iospress.nl
For editorial issues, permissions, book requests, submissions and proceedings, contact the Amsterdam office info@iospress.nl
Inspirees International (China Office)
Ciyunsi Beili 207(CapitaLand), Bld 1, 7-901
100025, Beijing
China
Free service line: 400 661 8717
Fax: +86 10 8446 7947
china@iospress.cn
For editorial issues, like the status of your submitted paper or proposals, write to editorial@iospress.nl
如果您在出版方面需要帮助或有任何建, 件至: editorial@iospress.nl