IP Library Granted Patent US 11,243,835
Granted Patent B1
US 11,243,835 · App. 17/110,458 · Granted Feb 8, 2022

Message-based problem diagnosis and root cause analysis

Inventors: Yuk L. Chan (Rochester, NY); Jia Qi Li (Beijing, CN); Lin Yang (Beijing, CN); Tian Wu (Beijing, CN); Lei Yu (Sleepy Hollow, NY); Hong Min (Poughkeepsie, NY); Fan Jing Meng (Beijing, CN)
Assignee: INTERNATIONAL BUSINESS MACHINES CORPORATION
G06F11/079G06F11/0751G06F11/0778
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 11,243,835
App. No.
17/110,458
Granted
Feb 8, 2022
Kind
B1
Abstract

Aspects of the invention include constructing a knowledge graph by writing a plurality of data structures to connect correlated log messages in a system log. Detecting an anomalous log message based on the knowledge graph, wherein the anomalous log message is connected to a plurality of candidate root cause error log messages. Determining respective sequences from each of the plurality of candidate root cause error log messages to the anomalous log message. Calculating a deviation score for each respective sequence based on a deviation of an expected sequence for each candidate root cause error log message and the determined sequence. Determining a root cause log error message based on the calculated deviation scores.

Claims (41)

1. A computer-implemented method comprising:

constructing, by a processor, a knowledge graph by writing a plurality of data structures to connect correlated log messages in a system log;

detecting, by the processor, an anomalous log message based on the knowledge graph, wherein the anomalous log message is connected to a plurality of candidate root cause error log messages;

writing, by the processor, a bit to the system log to identify the anomalous log message;

determining, by the processor, respective sequences from each of the plurality of candidate root cause error log messages to the anomalous log message;

calculating, by the processor, a deviation score for each respective sequence based on a deviation of an expected sequence for each candidate root cause error log message and the determined sequence; and

determining, by the processor, a root cause log error message based on the calculated deviation scores.

2. The computer-implemented method of claim 1 , wherein the log messages are correlated based on a semantic analysis of the log messages.

3. The computer-implemented method of claim 1 , wherein the root cause error log message is further determined based on a position in the knowledge graph.

4. The computer-implemented method of claim 1 , wherein the expected sequence for a candidate root cause error message of the plurality of candidate root cause error log messages is based at least in part on an application writing the candidate root cause error message of the plurality of candidate root cause error log messages.

5. The computer-implemented method of claim 1 , wherein a data structure of the plurality of data structures comprises a memory address of a correlated log message.

6. The computer-implemented method of claim 1 further comprises:

ranking each candidate root cause error log message based on the deviation scores; and

displaying a ranked list of candidate root cause error log messages.

7. A system comprising:

a memory having computer readable instructions; and

one or more processors for executing the computer readable instructions, the computer readable instructions controlling the one or more processors to perform operations comprising:

constructing a knowledge graph by writing a plurality of data structures to connect correlated log messages in a system log;

detecting an anomalous log message based on the knowledge graph, wherein the anomalous log message is connected to a plurality of candidate root cause error log messages;

writing a bit to the system log to identify the anomalous log message;

determining respective sequences from each of the plurality of candidate root cause error log messages to the anomalous log message;

calculating a deviation score for each respective sequence based on a deviation of an expected sequence for each candidate root cause error log message and the determined sequence; and

determining a root cause log error message based on the calculated deviation scores.

8. The system of claim 7 , wherein the log messages are correlated based on a semantic analysis of the log messages.

9. The system of claim 7 , wherein the root cause error log message is further determined based on a position in the knowledge graph.

10. The system of claim 7 , wherein the expected sequence for a candidate root cause error message of the plurality of candidate root cause error log messages is based at least in part on an application writing a candidate root cause error message of the plurality of candidate root cause error log messages.

11. The system of claim 7 , wherein a data structure of the plurality of data structures comprises a memory address of a correlated log message.

12. The system of claim 7 , the operations further comprise:

ranking each candidate root cause error log message based on the deviation scores; and

displaying a ranked list of candidate root cause error log messages.

13. A computer program product comprising a computer readable storage medium having program instructions embodied therewith, the program instructions executable by a processor to cause the processor to perform operations comprising:

constructing a knowledge graph by writing a plurality of data structures to connect correlated log messages in a system log;

detecting an anomalous log message based on the knowledge graph, wherein the anomalous log message is connected to a plurality of candidate root cause error log messages;

writing a bit to the system log to identify the anomalous log message;

determining respective sequences from each of the plurality of candidate root cause error log messages to the anomalous log message;

calculating a deviation score for each respective sequence based on a deviation of an expected sequence for each candidate root cause error log message and the determined sequence; and

determining a root cause log error message based on the calculated deviation scores.

14. The computer program product of claim 13 , wherein the log messages are correlated based on a semantic analysis of the log messages.

15. The computer program product of claim 13 , wherein the root cause error log message is further determined based on a position in the knowledge graph.

16. The computer program product of claim 13 , wherein the expected sequence for a candidate root cause error message of the plurality of candidate root cause error log messages is based at least in part on an application writing the candidate root cause error message of the plurality of candidate root cause error log messages.

17. The computer program product of claim 13 , wherein a data structure of the plurality of data structures comprises a memory address of a correlated log message.

Assignments (1)
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Dec 3, 2020
From: CHAN, YUK L.; LI, JIA QI; YANG, LIN; WU, TIAN; YU, LEI; MIN, HONG; MENG, FAN JING
To: INTERNATIONAL BUSINESS MACHINES CORPORATION
Reel/Frame 054529/0137 →
Cited By (2)
US 12,474,921 US 12,719,738