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 条
  • [1] UiLog: Improving Log-Based Fault Diagnosis by Log Analysis
    Zou, De-Qing
    Qin, Hao
    Jin, Hai
    JOURNAL OF COMPUTER SCIENCE AND TECHNOLOGY, 2016, 31 (05) : 1038 - 1052
  • [2] UiLog: Improving Log-Based Fault Diagnosis by Log Analysis
    De-Qing Zou
    Hao Qin
    Hai Jin
    Journal of Computer Science and Technology, 2016, 31 : 1038 - 1052
  • [3] An unsupervised heterogeneous log-based framework for anomaly detection
    Hajamydeen, Asif Iqbal
    Udzir, Nur Izura
    Mahmod, Ramlan
    Abdul Ghani, Abdul Azim
    TURKISH JOURNAL OF ELECTRICAL ENGINEERING AND COMPUTER SCIENCES, 2016, 24 (03) : 1117 - 1134
  • [4] Log-Based Testing
    Elyasov, Alexander
    2012 34TH INTERNATIONAL CONFERENCE ON SOFTWARE ENGINEERING (ICSE), 2012, : 1591 - 1594
  • [5] Log-Based OpenStack Fault Diagnosis by Machine Learning
    Zhang, Leyi
    Fan, Lei
    Guo, Naiwang
    3RD ANNUAL INTERNATIONAL CONFERENCE ON INFORMATION SYSTEM AND ARTIFICIAL INTELLIGENCE (ISAI2018), 2018, 1069
  • [6] Log-based Anomaly Detection Without Log Parsing
    Van-Hoang Le
    Zhang, Hongyu
    2021 36TH IEEE/ACM INTERNATIONAL CONFERENCE ON AUTOMATED SOFTWARE ENGINEERING ASE 2021, 2021, : 492 - 504
  • [7] Unsupervised Log Sequence Segmentation
    Dobrowolski, Wojciech
    Libura, Mikolj
    Nikodem, Maciej
    Unold, Olgierd
    IEEE ACCESS, 2024, 12 : 79003 - 79013
  • [8] On the effectiveness of log representation for log-based anomaly detection
    Wu, Xingfang
    Li, Heng
    Khomh, Foutse
    EMPIRICAL SOFTWARE ENGINEERING, 2023, 28 (06)
  • [9] On the effectiveness of log representation for log-based anomaly detection
    Xingfang Wu
    Heng Li
    Foutse Khomh
    Empirical Software Engineering, 2023, 28
  • [10] Leveraging Log Instructions in Log-based Anomaly Detection
    Bogatinovski, Jasmin
    Madjarov, Gjorgji
    Nedelkoski, Sasho
    Cardoso, Jorge
    Kao, Odej
    2022 IEEE INTERNATIONAL CONFERENCE ON SERVICES COMPUTING (IEEE SCC 2022), 2022, : 321 - 326