# US 2016/0253425 A1 · Bloom filter based log data analysis

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

- Number: US 2016/0253425 A1
- Document ID: US20160253425A1
- Status: Published application
- Kind: A1
- Application number: 15/031,362
- Filed: 2014-01-17
- Published: 2016-09-01
- Earliest claimed: 2014-01-17
- Assignees: Hewlett Packard Enterprise Development LP
- Applicants: Hewlett Packard Enterprise Development LP
- Inventors: Jason Jeffrey STOOPS; Wei HUANG
- Web page: https://patentgrep.com/patent/US20160253425A1

## CPC

- G06F 16/2255: {Hash tables}
- G06F 16/9535: Search customisation based on user profiles and personalisation
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

According to an example, bloom filter based log data analysis may include pre-computing hash values related to log data information from log data to generate a data range based bloom filter corresponding to a data range of the log data. The pre-computed hash values may be used to generate a master bloom filter for the log data information for a predetermined amount of the log data. The predetermined amount of the log data may be greater than the data range of the log data. A hash value related to query information to be searched in the log data may be computed. The hash value may be compared to the pre-computed hash values related to the master bloom filter to determine whether the query information is likely to be present in the log data or whether the query information is not present in the log data.

## Claims

### Claim 1

A non-transitory computer readable medium having stored thereon machine readable instructions to provide bloom filter based log data analysis, the machine readable instructions, when executed, cause at least one processor to:
specify characteristics of a data range based bloom filter;
receive log data;
pre-compute hash values related to log data information from the log data to generate the data range based bloom filter based on the specified characteristics, to wherein the data range based bloom filter corresponds to a data range of the log data;
use the pre-computed hash values to generate a master bloom filter for the log data information for a predetermined amount of the log data, wherein the predetermined amount of the log data is greater than the data range of the log data;
receive query information to be searched in the log data;
compute a hash value related to the query information; and
compare the hash value related to the query information to the pre-computed hash values related to the master bloom filter to determine whether the query information is likely to be present in the log data or whether the query information is not present in the log data.

### Claim 2 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein to compare the hash value related to the query information to the pre-computed hash values related to the master bloom filter to determine whether the query information is likely to be present in the log data or whether the query information is not present in the log data, the machine readable instructions, when executed, further cause the at least one processor to:
in response to a determination that the query information is likely to be present in the log data, compare the hash value related to the query information to the pre-computed hash values related to the data range based bloom filter to determine whether the query information is likely to be present in the data range of the log data or whether the query information is not present in the data range of the log data;
in response to a determination that the query information is not present in the log data, stop further evaluation of the log data; and
in response to a determination that the query information is not present in the data range of the log data, stop further evaluation of the data range of the log data.

### Claim 3 (depends on 2)

The non-transitory computer readable medium of claim 2, wherein to compare the hash value related to the query information to the pre-computed hash values related to the data range based bloom filter to determine whether the query information is likely to be present in the data range of the log data or whether the query information is not present in the data range of the log data, the machine readable instructions, when executed, further cause the at least one processor to:
in response to a determination that the query information is likely to be present in the data range of the log data, evaluate the log data to confirm presence of the query information in the log data.

### Claim 4 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein to pre-compute hash values related to log data information from the log data to generate the data range based bloom filter based on the specified characteristics, the machine readable instructions, when executed, further cause the at least one processor to:
pre-compute the hash values related to the log data information from the log data to generate a plurality of data range based bloom filters that include the data range based bloom filter based on the specified characteristics, wherein the plurality of data range based bloom filters correspond to a plurality of data ranges that include the data range of the log data.

### Claim 5 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein to specify characteristics of a data range based bloom filter, the machine readable instructions, when executed, further cause the at least one processor to:
specify an acceptable false positive rate that is related to whether the query information is likely to be present in the log data.

### Claim 6 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein to specify characteristics of a data range based bloom filter, the machine readable instructions, when executed, further cause the at least one processor to:
specify the characteristics for scaling a plurality of data range based bloom filters that include the data range based bloom filter.

### Claim 7 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the log data information includes one of an Internet protocol (IP) address, a host name, a port number, and a media access control (MAC) address.

### Claim 8 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the log data information is organized in column format in the log data.

### Claim 9 (depends on 1)

The non-transitory computer readable medium of claim 1, wherein the data range of the log data is a time-based data range that includes a number of log messages of the log data for a predetermined amount of time.

### Claim 10

A bloom filter based log data analysis apparatus comprising:
at least one processor; and
a memory storing machine readable instructions that when executed by the at least one processor cause the at least one processor to:
specify characteristics of data range based bloom filters;
receive log data;
pre-compute hash values related to log data information from the log data to generate the data range based bloom filters based on the specified characteristics, wherein the data range based bloom filters correspond to a plurality of data ranges of the log data;
pre-compute further hash values related to the log data information from the log data to generate a master bloom filter for the log data information for a predetermined amount of the log data, wherein the predetermined amount of the log data is greater than a total of the plurality of data ranges of the log data;
receive query information to be searched in the log data;
compute a hash value related to the query information; and
compare the hash value related to the query information to the pre-computed further hash values related to the master bloom filter to determine whether the query information is likely to be present in the log data or whether the query information is not present in the log data.

### Claim 11 (depends on 10)

The bloom filter based log data analysis apparatus according to claim 10, further comprising the machine readable instructions that when executed by the at least one processor cause the at least one processor to:
scale the data range based bloom filters by adding additional data range based bloom filters once existing data range based bloom filters are filled to a predetermined capacity related to the specified characteristics.

### Claim 12 (depends on 11)

The bloom filter based log data analysis apparatus according to claim 11, wherein to compare the hash value related to the query information to the pre-computed further hash values related to the master bloom filter to determine whether the query information is likely to be present in the log data or whether the query information is not present in the log data, the machine readable instructions, when executed, further cause the at least one processor to:
in response to a determination that the query information is likely to be present in the log data, compare the hash value related to the query information to pre-computed hash values related to an appropriate additional data range based bloom filter of the additional data range based bloom filters to determine whether the query information is likely to be present in the data range of the log data corresponding to the appropriate additional data range based bloom filter or whether the query information is not present in the data range of the log data corresponding to the appropriate additional data range based bloom filter.

### Claim 13

A method for bloom filter based data analysis, the method comprising:
specifying characteristics of a data range based bloom filter, wherein the characteristics include a size of the data range based bloom filter and an acceptable false positive rate associated with the data range based bloom filter;
receiving data;
pre-computing hash values related to data information from the data to generate the data range based bloom filter based on the specified characteristics, wherein the data range based bloom filter corresponds to a data range of the data;
receiving query information to be searched in the data;
computing a hash value related to the query information; and
comparing, by at least one processor, the hash value related to the query information to the pre-computed hash values related to the data range based bloom filter to determine whether the query information is likely to be present in the data or whether the query information is not present in the data.

### Claim 14 (depends on 13)

The method of claim 13, wherein a time for the comparison is independent of a number of elements in the data range for the data that are to be searched for the query information.

### Claim 15 (depends on 13)

The method of claim 13, wherein in response to a determination that the query information is likely to be present in the data, the method further comprises:
evaluating the data to confirm presence of the query information in the data.
