Log-Based Fault Localization with Unsupervised Log Segmentation

被引:0
|
作者
Dobrowolski, Wojciech [1 ,2 ]
Iwach-Kowalski, Kamil [1 ]
Nikodem, Maciej [2 ]
Unold, Olgierd [2 ]
机构
[1] Nokia, Rodziny Hiszpanskich 8, PL-02685 Warsaw, Poland
[2] Wroclaw Univ Technol, Fac Informat & Commun Technol, Dept Comp Engn, Wybrzeze Stanislawa Wyspianskiego 27, PL-50370 Wroclaw, Poland
来源
APPLIED SCIENCES-BASEL | 2024年 / 14卷 / 18期
关键词
automated log analysis; log-based fault localization; log sequence; unsupervised log sequence segmentation; software reliability;
D O I
10.3390/app14188421
中图分类号
O6 [化学];
学科分类号
0703 ;
摘要
Localizing faults in a software is a tedious process. The manual approach is becoming impractical because of the large size and complexity of contemporary computer systems as well as their logs, which are often the primary source of information about the fault. Log-based Fault Localization (LBFL) is a popular method applied for this purpose. However, in real-world scenarios, this method is vulnerable to a large number of previously unseen log lines. In this paper, we propose a novel method that can guide programmers to the location of a fault by creating a hierarchy of log lines with the highest rank, selected by the traditional LBFL method. We use the intuition that the symptoms of faults are in the context of normal behavior, whereas suspicious log lines grouped together are from new or additional functionalities turned on during faulty execution. To obtain this context, we used unsupervised log sequence segmentation, which has been previously used to segment log sequences into meaningful segments. Experiments on real-life examples show that our method reduces the effort to find the most crucial logs by up to 64% compared with the traditional timestamp approach. We demonstrate that context is highly useful in advancing fault localization, showing the possibility of further speeding up the process.
引用
收藏
页数:14
相关论文
共 50 条
  • [21] Log-Based Simplification of Process Models
    De San Pedro, Javier
    Carmona, Josep
    Cortadella, Jordi
    BUSINESS PROCESS MANAGEMENT, BPM 2015, 2015, 9253 : 457 - 474
  • [22] LogTM: Log-based transactional memory
    Moore, Kevin E.
    Bobba, Jayararn
    Moravan, Michelle J.
    Hill, Mark D.
    Wood, David A.
    TWELFTH INTERNATIONAL SYMPOSIUM ON HIGH-PERFORMANCE COMPUTER ARCHITECTURE, PROCEEDINGS, 2006, : 258 - +
  • [23] Log-based Intrusion Detection for MANET
    Alattar, Mouhannad
    Sailhan, Francoise
    Bourgeois, Julien
    2012 8TH INTERNATIONAL WIRELESS COMMUNICATIONS AND MOBILE COMPUTING CONFERENCE (IWCMC), 2012, : 697 - 702
  • [24] Unsupervised Learning and Online Anomaly Detection: An On-Condition Log-Based Maintenance System
    Decker, Leticia
    Leite, Daniel
    Minarini, Francesco
    Tisbeni, Simone Rossi
    Bonacorsi, Daniele
    INTERNATIONAL JOURNAL OF EMBEDDED AND REAL-TIME COMMUNICATION SYSTEMS (IJERTCS), 2022, 13 (01):
  • [25] Virtual Machine Proactive Fault Tolerance Using Log-Based Anomaly Detection
    Senevirathne, Pratheek
    Cooray, Samindu
    Herath, Jerome Dinal
    Fernando, Dinuni
    IEEE ACCESS, 2024, 12 : 178951 - 178970
  • [26] Enhancing Automata Learning by Log-Based Metrics
    van den Bos, Petra
    Smetsers, Rick
    Vaandrager, Frits
    INTEGRATED FORMAL METHODS (IFM 2016), 2016, 9681 : 295 - 310
  • [27] The Research of Log-Based Network Monitoring System
    Zhang, Li
    ADVANCES IN INTELLIGENT SYSTEMS, 2012, 138 : 315 - 320
  • [28] Process replication with log-based amnesia support
    de Juan-Marin, Ruben
    Irun-Briz, Luis
    Munoz-Escoi, Francesc D.
    ISPDC 2007: SIXTH INTERNATIONAL SYMPOSIUM ON PARALLEL AND DISTRIBUTED COMPUTING, PROCEEDINGS, 2007, : 367 - +
  • [29] An empirical study of the impact of log parsers on the performance of log-based anomaly detection
    Fu, Ying
    Yan, Meng
    Xu, Zhou
    Xia, Xin
    Zhang, Xiaohong
    Yang, Dan
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (01)
  • [30] An empirical study of the impact of log parsers on the performance of log-based anomaly detection
    Ying Fu
    Meng Yan
    Zhou Xu
    Xin Xia
    Xiaohong Zhang
    Dan Yang
    Empirical Software Engineering, 2023, 28