# US 2024/0176692 A1 · Method And System For Self-Healing Applications By Means Of Automatic Analysis Of Log Sources

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

- Number: US 2024/0176692 A1
- Document ID: US20240176692A1
- Status: Published application
- Kind: A1
- Application number: 18/517,850
- Filed: 2023-11-22
- Published: 2024-05-30
- Earliest claimed: 2022-11-24
- Applicants: German Edge Cloud GmbH & Co. KG
- Inventors: Mauricio Fadel ARGERICH; Simon TSCHÖKE; Arne SCHMIEG; René BRINKHEGE
- Web page: https://patentgrep.com/patent/US20240176692A1

## 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/0709: {in a distributed system consisting of a plurality of standalone computer nodes, e.g. clusters, client-server systems}
- 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)}
- G06F 11/2252: {using fault dictionaries}
- G06F 11/2257: {using expert systems}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A computer-implemented method including determining anomalies in one or more log sources of a system; and determining and correcting the causes for each of the anomalies by querying a database which maps previously known causes to respective solution actions, and by applying the queried solution actions to the system. The invention further relates to a system, having one or more log sources; a processor on which an application runs which is configured to carry out the method.

## Claims

### Claim 1

A computer-implemented method comprising:
determining anomalies in one or more log sources of a system; and
determining and correcting the causes for each of the anomalies by querying a database that maps pre-known causes to respective solution actions and applying the queried solution actions to the system.

### Claim 2 (depends on 1)

The method of claim 1, wherein determining anomalies comprises:
converting texts stored in the log sources into structured data, wherein components of the texts are classified with respect to their underlying events and their parameters are determined, and wherein the structured data differentiates into constant components of the texts from variable components of the texts.

### Claim 3 (depends on 1)

The method of claim 1, wherein determining anomalies comprises:
clustering rows of the log sources using common identifiers used in different rows;
determining parameter values from the clusters; and
converting the clusters into respective number vectors.

### Claim 4 (depends on 1)

The method of claim 1, wherein determining anomalies comprises:
converting rows of the log sources and their time of arrival stamps into respective number vectors.

### Claim 5 (depends on 3)

The method of claim 3, wherein determining anomalies comprises:
training a machine learning, ML, model using the number vectors, wherein a label designating the cluster/row as normal or abnormal is created for each cluster/row, respectively.

### Claim 6 (depends on 1)

The method of claim 1, further comprising:
clustering the anomalies according to the time of their occurrence and/or according to the content of the underlying rows, the logging granularity, the generating component.

### Claim 7 (depends on 6)

The method of claim 6, further comprising:
for each of the clusters of the anomalies, generating a natural language query that labels the respective anomaly, wherein the generating comprises examining words in the clusters of the anomalies with respect to their frequency within a cluster, the frequency in all clusters of the log sources, respectively all rows of the log sources, and the granularity of the words, and mapping the most frequent words thus determined to natural language sentences.

### Claim 8 (depends on 7)

The method of claim 7, further comprising:
applying the natural language query to a database to obtain actions for correcting the respective anomaly, wherein the database contains natural language questions regarding anomalies as well as corresponding answers, in particular wherein the answers comprise technical steps for resolving the respective anomalies and/or prepared applications.

### Claim 9 (depends on 8)

The method of claim 8, further comprising:
presenting the answers stored for the anomalies in the database to a user of the system;
receiving a selection of the answers; and
applying the selected answers to the system.

### Claim 10 (depends on 1)

A system comprising:
one or more log sources;
a processor running an application configured to perform the method of claim 1.
