FMLogs: log parsing method based on template matching

Zhang Yilei
Zhang Guangze
Gong Shengwang
Yuan Shuqing
School of Computer & Information, Anhui Normal University, Wuhu Anhui 241000, China

Abstract

Logs record the software and hardware running information. By viewing system logs, you can find system faults and causes to ensure system stability and normal running. The purpose of log parsing is to parse semi-structured original logs into readable log templates. The existing parsing methods often only focus on parsing the original logs, but ignore the later template processing. As a result, the accuracy of the results cannot be further improved. Since then, a new log parsing method FMLogs (Logs parsing based on Frequency and Minhash algorithm) is proposed. This method designs regular expressions and adjusts threshold parameters to obtain the best performance. Meanwhile, character-level frequency statistics and MinHash methods are used to merge log templates with the same length and different log templates. FMLogs conducted extensive experiments on seven real datasets, achieving an average analytic accuracy of 0.924 and an F1-Score of 0.983. The experimental results show that FMLogs is an effective log parsing method with high accuracy, high efficiency, and stable performance.

Publish Information

DOI: 10.19734/j.issn.1001-3695.2023.12.0612
Publish at: Application Research of Computers Accepted Paper, Vol. 41, 2024 No. 8

Publish History

[2024-03-07] Accepted Paper

Cite This Article

章一磊, 张广泽, 龚声望, 等. FMLogs:基于模板匹配的日志解析方法 [J]. 计算机应用研究, 2024, 41 (8). (2024-04-10). https://doi.org/10.19734/j.issn.1001-3695.2023.12.0612. (Zhang Yilei, Zhang Guangze, Gong Shengwang, et al. FMLogs: log parsing method based on template matching [J]. Application Research of Computers, 2024, 41 (8). (2024-04-10). https://doi.org/10.19734/j.issn.1001-3695.2023.12.0612. )

About the Journal

  • Application Research of Computers Monthly Journal
  • Journal ID ISSN 1001-3695
    CN  51-1196/TP

Application Research of Computers, founded in 1984, is an academic journal of computing technology sponsored by Sichuan Institute of Computer Sciences under the Science and Technology Department of Sichuan Province.

Aiming at the urgently needed cutting-edge technology in this discipline, Application Research of Computers reflects the mainstream technology, hot technology and the latest development trend of computer application research at home and abroad in a timely manner. The main contents of the journal include high-level academic papers in this discipline, the latest scientific research results and major application results. The contents of the columns involve new theories of computer discipline, basic computer theory, algorithm theory research, algorithm design and analysis, blockchain technology, system software and software engineering technology, pattern recognition and artificial intelligence, architecture, advanced computing, parallel processing, database technology, computer network and communication technology, information security technology, computer image graphics and its latest hot application technology.

Application Research of Computers has many high-level readers and authors, and its readers are mainly senior and middle-level researchers and engineers engaged in the field of computer science, as well as teachers and students majoring in computer science and related majors in colleges and universities. Over the years, the total citation frequency and Web download rate of Application Research of Computers have been ranked among the top of similar academic journals in this discipline, and the academic papers published are highly popular among the readers for their novelty, academics, foresight, orientation and practicality.


Indexed & Evaluation

  • The Second National Periodical Award 100 Key Journals
  • Double Effect Journal of China Journal Formation
  • the Core Journal of China (Peking University 2023 Edition)
  • the Core Journal for Science
  • Chinese Science Citation Database (CSCD) Source Journals
  • RCCSE Chinese Core Academic Journals
  • Journal of China Computer Federation
  • 2020-2022 The World Journal Clout Index (WJCI) Report of Scientific and Technological Periodicals
  • Full-text Source Journal of China Science and Technology Periodicals Database
  • Source Journal of China Academic Journals Comprehensive Evaluation Database
  • Source Journals of China Academic Journals (CD-ROM Version), China Journal Network
  • 2017-2019 China Outstanding Academic Journals with International Influence (Natural Science and Engineering Technology)
  • Source Journal of Top Academic Papers (F5000) Program of China's Excellent Science and Technology Journals
  • Source Journal of China Engineering Technology Electronic Information Network and Electronic Technology Literature Database
  • Source Journal of British Science Digest (INSPEC)
  • Japan Science and Technology Agency (JST) Source Journal
  • Russian Journal of Abstracts (AJ, VINITI) Source Journals
  • Full-text Journal of EBSCO, USA
  • Cambridge Scientific Abstracts (Natural Sciences) (CSA(NS)) core journals
  • Poland Copernicus Index (IC)
  • Ulrichsweb (USA)