Log Record Indexing via Template and Attribute Segmentation

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing systems face challenges in efficiently storing and searching log records generated at high rates in data centers, as they require significant storage space and computational resources for full-text indexing and querying.

Innovation Solution

The method involves partitioning log streams into records with defined intervals, selecting templates from a templates index repository, identifying attributes within these records, and storing them in an attributes index repository, allowing for efficient retrieval and search operations using both repositories in parallel.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Ease of operation

If log records are stored in a full-text index (FTI), then complex text queries can be performed on the log records, but the storage requirements become proportional to the number of terms in the log records, which becomes significant at millions of records per second

Engineering Contradiction:
Improvecomplex text query capabilityVSAvoidstorage requirements
Core Design Contradiction:
Ease of operationVSQuantity of substance

Solution Approach 1:

The patent segments the full-text index into two separate indexes: a templates index containing unique log record patterns and an attributes index containing term-frequency information for each template. This segmentation reduces storage by avoiding redundant term storage across similar log records while preserving full-text query capabilities through the structured relationship between templates and attributes.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The patent changes the indexing parameter from storing complete log record text to storing structured template-attribute pairs. Each log record is represented by its template identifier and a subset of relevant attributes, transforming the storage model from raw text to structured metadata that enables efficient querying with reduced storage footprint.

Inventive Principle:
Principle #35Parameter changes

2Ease of operation

If iterative full-text queries are performed on the FTI of log records, then operators can search for specific log patterns, but the computational resources required increase significantly with the volume of log records

Engineering Contradiction:
Improvesearch capabilityVSAvoidcomputational resources
Core Design Contradiction:
Ease of operationVSUse of energy by moving object

Solution Approach 1:

The patent performs preliminary action by pre-processing log records into templates and attributes during ingestion, organizing data into a structured format with pre-computed term frequencies and template hierarchies. This preliminary structuring enables faster query execution by eliminating the need for iterative full-text scanning, as queries can directly leverage the pre-organized template-attribute relationships.

Inventive Principle:
Principle #10Preliminary action

3Productivity

If log records are generated at high rates (millions per second), then comprehensive monitoring data is captured, but efficient storage and searching become significant challenges

Engineering Contradiction:
Improvelog record generation rateVSAvoidstorage and search system complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent uses copying by creating a structured representation (template-attribute model) that copies only the essential characteristics of log records rather than storing complete copies of every record. The templates index stores unique patterns once, while the attributes index stores term-frequency information that can be efficiently queried, reducing the complexity of handling high-volume log data.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS10019510B2Indexing and searching log records using templates index and attributes index
Publication Date: 2018.07.10 CA TECH INC
  • US10019510B2 patent drawing
  • US10019510B2 patent drawing
  • US10019510B2 patent drawing

AI summary

A computer partitions a log stream into records having defined intervals. For each of the records, the computer selects a template from among a set of templates in a templates index repository based on an identifier for the record being associated in the templates index repository with the template, identifies an attribute contained in the record based on the template, and stores the attribute associated with an identifier for the record and an identifier for the template in an attributes index repository. The attributes index repository and the templates index repository are used to retrieve records responsive to search queries.