Log Analytics Using Sketching for Anomaly Detection

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In large-scale virtualized computing infrastructures, diagnosing and troubleshooting failures and performance issues are challenging due to the overwhelming volume of unstructured log data generated by numerous software and hardware components, making it difficult to identify relevant information within the data.

Innovation Solution

A method for real-time analysis of log messages that classifies messages into types based on content similarity using a sketching algorithm, groups log messages into events, and identifies anomalous events by analyzing patterns in event composition and volume, reducing the complexity of log data for system administrators.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Measurement precision

If log data from all components is collected and stored in detail for analysis, then diagnostic accuracy and problem identification capability are improved, but data volume and processing complexity increase significantly

Engineering Contradiction:
Improvediagnostic accuracyVSAvoiddata volume
Core Design Contradiction:
Measurement precisionVSQuantity of substance

Solution Approach 1:

The patent extracts only the essential and relevant features from log data by generating sketches that capture key characteristics of log messages. Instead of storing and analyzing all raw log data, the system extracts salient features into compact sketches, thereby maintaining diagnostic accuracy while dramatically reducing data volume.

Inventive Principle:
Principle #2Taking out (Extraction)

Solution Approach 2:

The patent segments log data processing into multiple stages: generating sketches from raw logs, clustering similar sketches into groups, and then analyzing the clustered results. This segmentation allows the system to process data incrementally and focus computational resources on the most relevant portions, reducing overall processing complexity.

Inventive Principle:
Principle #1Segmentation

2Measurement precision

If all log messages are analyzed in detail to identify patterns and anomalies, then detection precision is improved, but processing time and computational resources increase

Engineering Contradiction:
Improvedetection precisionVSAvoidprocessing time
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The patent performs preliminary actions by generating sketches and clustering log messages before conducting detailed anomaly detection. This preprocessing step groups similar log messages together, so that when anomalies are detected, the system only needs to deeply analyze representative samples from each cluster rather than every individual log message, significantly reducing processing time.

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent applies partial action by focusing analysis on clustered groups of log messages rather than examining every single message in detail. The sketching and clustering process identifies representative patterns, allowing the system to achieve high detection precision by analyzing a subset of representative data rather than the complete dataset.

Inventive Principle:
Principle #16Partial or excessive action

3Productivity

If log data is processed and classified in real-time, then responsiveness and early problem detection are improved, but system complexity and computational overhead increase

Engineering Contradiction:
Improvereal-time processing capabilityVSAvoidsystem complexity
Core Design Contradiction:
ProductivityVSDevice complexity

Solution Approach 1:

The patent replaces complex mechanical-like processing of raw log data with a more efficient computational approach using sketching algorithms and hashing. Instead of traditional text analysis methods, the system uses fingerprint-based sketch generation that is computationally lighter and can be executed in real-time with lower overhead, reducing system complexity while maintaining real-time processing capability.

Inventive Principle:
Principle #28Mechanics substitution (Replace mechanical system)

4Loss of information

If detailed classification of log messages is performed to identify event types, then information quality is improved, but processing complexity and memory requirements increase

Engineering Contradiction:
Improveinformation qualityVSAvoidprocessing complexity
Core Design Contradiction:
Loss of informationVSDevice complexity

Solution Approach 1:

The patent creates simplified copies of log messages in the form of sketches that capture the essential information needed for classification. These sketch copies retain the key identifying features of original log messages while using significantly less memory and computational resources, allowing detailed classification to be performed with reduced processing complexity.

Inventive Principle:
Principle #26Copying

Data Source

PatentUS9244755B2Scalable log analytics
Publication Date: 2016.01.26 VMWARE INC
  • US9244755B2 patent drawing
  • US9244755B2 patent drawing
  • US9244755B2 patent drawing

AI summary

Large amounts of unstructured log data generated by software and infrastructure components of a computing system are processed and analyzed in real time to identify anomalies and potential problems within the computing system. A log analytics module reduces both the volume and level of detail of log data by first classifying log messages into message types based on their content similarity. The log analytics module may then further reduce data by grouping bursts of log messages into log events. Patterns within these log events, such as the collection and number of different message types that comprise the event, can be used to identify anomalous events.