# US 2021/0081441 A1 · Automatic feature extraction from unstructured log data utilizing term frequency scores

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

- Number: US 2021/0081441 A1
- Document ID: US20210081441A1
- Status: Published application
- Kind: A1
- Application number: 16/572,006
- Filed: 2019-09-16
- Published: 2021-03-18
- Earliest claimed: 2019-09-16
- Assignees: EMC IP Holding Company LLC
- Applicants: EMC IP Holding Company LLC
- Inventors: Vibhor Kaushik; Peter Beale; Zachary W. Arnold
- Web page: https://patentgrep.com/patent/US20210081441A1

## CPC

- G06F 16/31: Indexing; Data structures therefor; Storage structures
- G06F 16/313: {Selection or weighting of terms for indexing}
- G06F 9/45558: {Hypervisor-specific management and integration aspects}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A method includes obtaining, in a given log processing node, at least two different types of logs associated with assets of an enterprise system. The method also includes generating, at the given log processing node, frequency scores for terms in unstructured log data of each of the different log types, the generated frequency score for a given term in unstructured log data of a given log type being based on (i) occurrence of the given term in historical logs of the given log type previously processed by log processing nodes and (ii) occurrence of the given term in the obtained logs of the given log type. The method further includes extracting, at the given log processing node, features from the obtained logs based on the frequency scores, detecting events affecting the assets utilizing the extracted features, and modifying a configuration of the assets responsive to detecting the events.

## Claims

### Claim 1

A method comprising steps of:
obtaining, in a given one of a plurality of log processing nodes, at least two different types of logs associated with a plurality of assets of an enterprise system;
generating, at the given log processing node, frequency scores for terms in unstructured log data of each of the different log types, the generated frequency score for a given term in unstructured log data of a given log type being based at least in part on (i) occurrence of the given term in historical logs of the given log type previously processed by the plurality of log processing nodes and (ii) occurrence of the given term in the obtained logs of the given log type;
extracting, at the given log processing node, features from the obtained logs based at least in part on the frequency scores;
detecting one or more events affecting the plurality of assets of the enterprise system utilizing the extracted features; and
modifying a configuration of one or more of the plurality of assets responsive to detecting the one or more events;
wherein the method is performed by at least one processing device comprising a processor coupled to a memory.

### Claim 2 (depends on 1)

The method of claim 1 wherein the given log processing node comprises a virtual computing instance of a distributed computing platform, the virtual computing instance comprising at least one of a virtual machine and a software container.

### Claim 3 (depends on 1)

The method of claim 1 further comprising pre-processing the obtained logs to remove noise, wherein pre-processing the obtained logs comprises identifying and removing at least one of stop words, punctuation, and uniform resource locators.

### Claim 4 (depends on 1)

The method of claim 1 wherein the generated frequency score for the given term comprises an inverse document frequency score computed based at least in part on a number of logs of the given log type in which the given term appears relative to a total number of logs of the given log type.

### Claim 5 (depends on 4)

The method of claim 4 wherein the extracted features comprise term frequency-inverse document frequency scores, a given term frequency-inverse document frequency score for the given term in a given log of the given log type being determined based at least in part on a number of occurrences of the given term in the given log and the generated frequency score for the given term.

### Claim 6 (depends on 1)

The method of claim 1 wherein generating the frequency scores at the given log processing node comprises:
reading a meta corpus for the given log type from a first data store accessible by the plurality of log processing nodes, the meta corpus comprising historical frequency scores previously computed by the plurality of log processing nodes indicating occurrence of terms in the historical logs of the given log type;
writing a delta corpus for the given log type to a second data store local to the given log processing node, the delta corpus comprising updates to the previously-computed historical frequency scores; and
periodically providing the delta corpus for the given log type from the second data store to the first data store to update the meta corpus for the given log type.

### Claim 7 (depends on 6)

The method of claim 6 wherein writing the delta corpus for the given log type comprises incrementally re-computing inverse document frequency scores for terms responsive to detecting occurrence of the terms in the obtained logs of the given log type.

### Claim 8 (depends on 7)

The method of claim 7 further comprising pausing incrementally re-computing the inverse document frequency scores while updating the meta corpus.

### Claim 9 (depends on 7)

The method of claim 7 wherein incrementally re-computing the inverse document frequency scores comprises, when the given term has an associated inverse document frequency score in the meta corpus, generating an update to a previously-computed inverse document frequency score for the given term by (i) incrementing the previously-computed inverse document frequency score for the given term based at least in part on a number of times that the given term occurs in the obtained logs of the given log type and (ii) saving the updated inverse document frequency score for the given term to the delta corpus for the given log type.

### Claim 10 (depends on 7)

The method of claim 7 wherein incrementally re-computing the inverse document frequency scores comprises, when the given term does not have an associated inverse document frequency score in the meta corpus, creating a new inverse document frequency score for the given term and adding the new inverse document frequency score to the delta corpus for the given log type.

### Claim 11 (depends on 7)

The method of claim 7 wherein periodically providing the delta corpus for the given log type from the second data store to the first data store to update the meta corpus is performed at a frequency determined based at least in part on a frequency of generation of logs of the given log type.

### Claim 12 (depends on 1)

The method of claim 1 wherein the at least two different types of logs comprise:
a first type of logs obtained from a first monitoring tool that monitors a given type of assets in the enterprise system; and
at least a second type of logs obtained from a second monitoring tool that monitors the given type of assets in the enterprise system.

### Claim 13 (depends on 1)

The method of claim 1 wherein modifying the configuration of the one or more assets comprises:
identifying a given one of the plurality of assets as a malfunctioning asset; and
utilizing the extracted features to identify the one or more assets as assets affected by the malfunctioning asset.

### Claim 14 (depends on 1)

The method of claim 1 wherein modifying the configuration of the one or more assets comprises at least one of:
applying one or more security hardening procedures to the configuration of the one or more assets;
identifying and correcting a misconfiguration of one or more aspects of the one or more assets; and
blocking one or more connections to the one or more assets.

### Claim 15

A computer program product comprising a non-transitory processor-readable storage medium having stored therein program code of one or more software programs, wherein the program code when executed by at least one processing device causes the at least one processing device to perform steps of:
obtaining, in a given one of a plurality of log processing nodes, at least two different types of logs associated with a plurality of assets of an enterprise system;
generating, at the given log processing node, frequency scores for terms in unstructured log data of each of the different log types, the generated frequency score for a given term in unstructured log data of a given log type being based at least in part on (i) occurrence of the given term in historical logs of the given log type previously processed by the plurality of log processing nodes and (ii) occurrence of the given term in the obtained logs of the given log type;
extracting, at the given log processing node, features from the obtained logs based at least in part on the frequency scores;
detecting one or more events affecting the plurality of assets of the enterprise system utilizing the extracted features; and
modifying a configuration of one or more of the plurality of assets responsive to detecting the one or more events.

### Claim 16 (depends on 15)

The computer program product of claim 15 wherein the generated frequency score for the given term comprises an inverse document frequency score computed based at least in part on a number of logs of the given log type in which the given term appears relative to a total number of logs of the given log type, and wherein the extracted features comprise term frequency-inverse document frequency scores, a given term frequency-inverse document frequency score for the given term in a given log being determined based at least in part on a number of occurrences of the given term in the given log and the generated frequency score for the given term.

### Claim 17 (depends on 15)

The computer program product of claim 15 wherein generating the frequency scores at the given log processing node comprises:
reading a meta corpus for the given log type from a first data store accessible by the plurality of log processing nodes, the meta corpus comprising historical frequency scores previously computed by the plurality of log processing nodes indicating occurrence of terms in the historical logs of the given log type;
writing a delta corpus for the given log type to a second data store local to the given log processing node, the delta corpus comprising updates to the previously-computed historical frequency scores; and
periodically providing the delta corpus for the given log type from the second data store to the first data store to update the meta corpus for the given log type.

### Claim 18

An apparatus comprising:
at least one processing device comprising a processor coupled to a memory;
the at least one processing device being configured to perform steps of:
obtaining, in a given one of a plurality of log processing nodes, at least two different types of logs associated with a plurality of assets of an enterprise system;
generating, at the given log processing node, frequency scores for terms in unstructured log data of each of the different log types, the generated frequency score for a given term in unstructured log data of a given log type being based at least in part on (i) occurrence of the given term in historical logs of the given log type previously processed by the plurality of log processing nodes and (ii) occurrence of the given term in the obtained logs of the given log type;
extracting, at the given log processing node, features from the obtained logs based at least in part on the frequency scores;
detecting one or more events affecting the plurality of assets of the enterprise system utilizing the extracted features; and
modifying a configuration of one or more of the plurality of assets responsive to detecting the one or more events.

### Claim 19 (depends on 18)

The apparatus of claim 18 wherein the generated frequency score for the given term comprises an inverse document frequency score computed based at least in part on a number of logs of the given log type in which the given term appears relative to a total number of logs of the given log type, and wherein the extracted features comprise term frequency-inverse document frequency scores, a given term frequency-inverse document frequency score for the given term in a given log being determined based at least in part on a number of occurrences of the given term in the given log and the generated frequency score for the given term.

### Claim 20 (depends on 18)

The apparatus of claim 18 wherein generating the frequency scores at the given log processing node comprises:
reading a meta corpus for the given log type from a first data store accessible by the plurality of log processing nodes, the meta corpus comprising historical frequency scores previously computed by the plurality of log processing nodes indicating occurrence of terms in the historical logs of the given log type;
writing a delta corpus for the given log type to a second data store local to the given log processing node, the delta corpus comprising updates to the previously-computed historical frequency scores; and
periodically providing the delta corpus for the given log type from the second data store to the first data store to update the meta corpus for the given log type.
