# US 2023/0273849 A1 · Identifying log anomaly resolution from anomalous system logs

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2023/0273849 A1
- Document ID: US20230273849A1
- Status: Published application
- Kind: A1
- Application number: 17/681,774
- Filed: 2022-02-26
- Published: 2023-08-31
- Earliest claimed: 2022-02-26
- Assignees: International Business Machines Corporation
- Applicants: International Business Machines Corporation
- Inventors: Ruchi Mahindru; Harshit Kumar; Sahil Bansal; ANBANG XU; Lu An; Gargi B. Dasgupta
- Web page: https://patentgrep.com/patent/US20230273849A1

## CPC

- G06F 11/079: {Root cause analysis, i.e. error or fault diagnosis (in a hardware test environment G06F11/22; in a software test environment G06F11/36)}
- G06F 11/0751: {Error or fault detection not based on redundancy (power supply failures G06F1/30; network fault management H04L41/06)}
- G06F 11/0778: {Dumping, i.e. gathering error/state information after a fault for later diagnosis}
- G06F 11/0793: {Remedial or corrective actions (recovery from an exception in an instruction pipeline G06F9/3861; by retry G06F11/1402; for recovering from a failure of a protocol instance or entity H04L69/40)}
- G06N 20/00: Machine learning
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)
- G06N: COMPUTING ARRANGEMENTS BASED ON SPECIFIC COMPUTATIONAL MODELS

## Abstract

Identifying an log anomaly resolution by generating a knowledge base linking each of a plurality of incidents with historical anomalous log lines, calculating a resolution specificity score for each knowledge base record, identifying a run-time anomalous log line using the knowledge base, predicting a category for the run-time anomalous log line, identifying resolutions according to the category, ranking the resolutions according to the resolution specificity scores, and recommending a resolution according to the ranking.

## Claims

### Claim 1

A computer implemented method for identifying a log anomaly resolution, the method comprising:
generating, by one or more computer processors, a knowledge base linking each of a plurality of historical incidents with historical anomalous log lines;
calculating, by the one or more computer processors, a resolution specificity score for each knowledge base record;
identifying, by the one or more computer processors, a run-time anomalous log line using the knowledge base;
predicting, by the one or more computer processors, a category for the run-time anomalous log line;
identifying, by the one or more computer processors, resolutions according to the category;
ranking, by the one or more computer processors, the resolutions according to the resolution specificity scores; and
recommending, by the one or more computer processors, a resolution according to the ranking.

### Claim 2 (depends on 1)

The computer implemented method according to claim 1, further comprising:
predicting, by the one or more computer processors, a sub-category for the run-time anomalous log line according to the knowledge base; and
identifying, by the one or more computer processors, resolutions according to the category and the sub-category.

### Claim 3 (depends on 1)

The computer implemented method according to claim 1, further comprising:
identifying, by the one or more computer processors, resolutions according to the category and a category prediction confidence.

### Claim 4 (depends on 1)

The computer implemented method according to claim 1, further comprising revising, by the one or more computer processors, the knowledge base according to the run-time anomalous log lines.

### Claim 5 (depends on 1)

The computer implemented method according to claim 1, further comprising ranking, by the one or more computer processors, the resolutions according to resolution feature frequency.

### Claim 6 (depends on 1)

The computer implemented method according to claim 1, further comprising ranking, by the one or more computer processors, the resolutions according to resolution usages frequency.

### Claim 7 (depends on 1)

The computer implemented method according to claim 1, further comprising:
predicting, by the one or more computer processors, a sub-category for the run-time anomalous log line according to the knowledge base;
identifying, by the one or more computer processors, message code from the run-time anomalous log line; and
identifying, by the one or more computer processors, resolutions according to the message code, the category and the sub-category.

### Claim 8

A computer program product for identifying log anomaly resolutions, the computer program product comprising one or more computer readable storage media and collectively stored program instructions on the one or more computer readable storage, media the stored program instructions comprising:
program instructions to generate a knowledge base linking each of a plurality of incidents with historical anomalous log lines;
program instructions to calculate a resolution specificity score for each knowledge base record;
program instructions to identify a run-time anomalous log line using the knowledge base;
program instructions to predict a category for the run-time anomalous log line;
program instructions to identify resolutions according to the category;
program instructions to rank the resolutions according to the resolution specificity scores; and
program instructions to recommend a resolution according to the ranking.

### Claim 9 (depends on 8)

The computer program product according to claim 8, the stored program instructions further comprising:
program instructions to predict a sub-category for the run-time anomalous log line according to the knowledge base; and
program instructions to identify resolutions according to the category and the sub-category.

### Claim 10 (depends on 8)

The computer program product according to claim 8, the stored program instructions further comprising:
program instructions to identify resolutions according to the category and a category prediction confidence.

### Claim 11 (depends on 8)

The computer program product according to claim 8, the stored program instructions further comprising program instructions to revise the knowledge base according to the run-time anomalous log lines.

### Claim 12 (depends on 8)

The computer program product according to claim 8, the stored program instructions further comprising program instructions to rank the resolutions according to resolution feature frequency.

### Claim 13 (depends on 8)

The computer program product according to claim 8, the stored program instructions further comprising program instructions to rank the resolutions according to resolution usages frequency.

### Claim 14 (depends on 8)

The computer program product according to claim 8, the stored program instructions further comprising:
program instructions to predict a sub-category for the run-time anomalous log line according to the knowledge base;
program instructions to identify message code from the run-time anomalous log line; and
program instructions to identify resolutions according to the message code, the category and the sub-category.

### Claim 15

A computer system for identifying log anomaly resolutions, the computer system comprising:
one or more computer processors;
one or more computer readable storage devices; and
stored program instructions on the one or more computer readable storage devices for execution by the one or more computer processors, the stored program instructions comprising:
program instructions to generate a knowledge base linking each of a plurality of historical incidents with historical anomalous log lines;
program instructions to calculate a resolution specificity score for each knowledge base record;
program instructions to identify a run-time anomalous log line using the knowledge base;
program instructions to predict a category for the run-time anomalous log line;
program instructions to identify resolutions according to the category;
program instructions to rank the resolutions according to the resolution specificity scores; and
program instructions to recommend a resolution according to the ranking.

### Claim 16 (depends on 15)

The computer system according to claim 15, the stored program instructions further comprising:
program instructions to predict a sub-category for the run-time anomalous log line according to the knowledge base; and
program instructions to identify resolutions according to the category and the sub-category.

### Claim 17 (depends on 15)

The computer system according to claim 15, the stored program instructions further comprising:
program instructions to identify resolutions according to the category and a category prediction confidence.

### Claim 18 (depends on 15)

The computer system according to claim 15, the stored program instructions further comprising program instructions to rank the resolutions according to resolution feature frequency.

### Claim 19 (depends on 15)

The computer system according to claim 15, the stored program instructions further comprising program instructions to rank the resolutions according to resolution usages frequency.

### Claim 20 (depends on 15)

The computer system according to claim 15, the stored program instructions further comprising:
program instructions to predict a sub-category for the run-time anomalous log line according to the knowledge base;
program instructions to identify message code from the run-time anomalous log line; and
program instructions to identify resolutions according to the message code, the category and the sub-category.
