LogKG: Log Failure Diagnosis Through Knowledge Graph
- 11 July 2023
- journal article
- research article
- Published by Institute of Electrical and Electronics Engineers (IEEE) in IEEE Transactions on Services Computing
- Vol. 16 (5) , 3493-3507
Abstract
Logs are one of the most valuable data to describe the running state of services. Failure diagnosis through logs is crucial for service reliability and security. The current automatic log failure diagnosis methods cannot fully use the multiple fields of logs, which fail to capture the relation between them. In this paper, we propose LogKG, a new framework for diagnosing failures based on knowledge graphs (KG) of logs. LogKG fully extracts entities and relations from logs to mine multi-field information and their relations through the KG. To fully use the information represented by KG, we propose a failure-oriented log representation (FOLR) method to extract the failure-related patterns. Utilizing the OPTICS clustering method, LogKG aggregates historical failure cases, labels typical failure cases, and trains a failure diagnosis model to identify the root cause. We evaluate the effectiveness of LogKG on a real-world log dataset and a public log dataset, respectively, showing that it outperforms existing methods. With the deployment in a top-tier global Internet Service Provider (ISP), we demonstrate the performance and practicability of LogKG.Keywords
Funding Information
- Advanced Research Project of China (31511010501)
- National Natural Science Foundation of China (62272249, 62072264)
- Natural Science Foundation of Tianjin Municipality (21JCQNJC00180)
This publication has 44 references indexed in Scilit:
- Log clustering based problem identification for online service systems2016
- LOGAN: Problem Diagnosis in the Cloud Using Log-Based Reference Models2016
- Learning to Represent Knowledge Graphs with Gaussian Embedding2015
- Insights into the Diagnosis of System Failures from Cluster Message Logs2015
- Open IE as an Intermediate Structure for Semantic Tasks2015
- Named Entity Recognition2014
- The Stanford CoreNLP Natural Language Processing Toolkit2014
- Glove: Global Vectors for Word Representation2014
- Algorithms for hierarchical clustering: an overviewWIREs Data Mining and Knowledge Discovery, 2011
- OPTICSACM SIGMOD Record, 1999