Log Annotating via Documentation Templates

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

Existing log message analytics struggle due to the unstructured and dynamic nature of log messages, making template mining ineffective for system diagnosis and anomaly detection.

Innovation Solution

A method and system for annotating logs by processing log documentation to create templates with constants and variables, using natural language processing and machine learning techniques to identify and label variables in log entries, enabling accurate annotation and pattern recognition.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Reliability

If template mining is performed directly on unstructured log messages, then the process is simple and fast, but the effectiveness and accuracy of anomaly detection deteriorate

Engineering Contradiction:
Improveeffectiveness of anomaly detectionVSAvoidcomplexity of template mining process
Core Design Contradiction:
ReliabilityVSDevice complexity

Solution Approach 1:

The patent applies preliminary action by using natural language processing to process log documentation and extract variable definitions, data types, and descriptions before performing template mining on log messages. This preprocessing step creates a structured reference that guides the subsequent template matching and annotation process, improving effectiveness without significantly increasing overall system complexity

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent introduces an intermediary layer consisting of extracted variable information (names, types, descriptions) from log documentation that mediates between the unstructured log messages and the template mining process. This intermediary structure enables accurate variable identification and template matching while maintaining a manageable process complexity

Inventive Principle:
Principle #24Intermediary (Mediator)

2Measurement precision

If log messages are processed without structured templates, then the processing speed is fast, but the precision of variable identification and annotation deteriorates

Engineering Contradiction:
Improveprecision of variable identificationVSAvoidtime for log processing
Core Design Contradiction:
Measurement precisionVSLoss of time

Solution Approach 1:

The system performs preliminary extraction of variable information (names, types, descriptions) from log documentation before log message processing. This advance preparation creates a reference structure that enables precise variable identification during log processing without requiring complex real-time analysis, thus maintaining processing efficiency while improving precision

Inventive Principle:
Principle #10Preliminary action

Solution Approach 2:

The patent changes the parameter state of log messages by transforming unstructured text into structured annotated data with identified variables, types, and descriptions. This parameter transformation enables precise measurement and classification of log contents while the use of pre-extracted templates keeps the time cost manageable

Inventive Principle:
Principle #35Parameter changes

3Reliability

If dynamic log contents are analyzed without documentation processing, then the adaptability to different workloads is high, but the accuracy of system diagnosis deteriorates

Engineering Contradiction:
Improveaccuracy of system diagnosisVSAvoidadaptability to different workloads
Core Design Contradiction:
ReliabilityVSAdaptability or versatility

Solution Approach 1:

The patent creates a universal solution by processing log documentation to extract variable information that can be applied across different log messages, workloads, and time periods. The extracted templates and variable definitions serve as a multi-functional reference that improves diagnostic accuracy for diverse log contents while maintaining adaptability through the flexible matching process

Inventive Principle:
Principle #6Universality (Multi-functionality)

Solution Approach 2:

The patent introduces an intermediary layer of extracted variable information from documentation that mediates between diverse dynamic log contents and the diagnosis process. This intermediary structure provides consistent variable identification and classification across different workloads and time periods, improving diagnostic accuracy while adapting to various log formats and contents

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11681865B2Annotating a log based on log documentation
Publication Date: 2023.06.20 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11681865B2 patent drawing
  • US11681865B2 patent drawing
  • US11681865B2 patent drawing

AI summary

Embodiments of the invention are directed to annotating a log based on processing log documentation. Aspects include obtaining the log having a plurality of entries. Aspects also include creating a set of log entry templates by processing the log documentation associated with the log, wherein each log entry template includes one or more constants and one or more variables. Aspects further include annotating each of the plurality of entries based on the set of templates, wherein the annotating includes labeling each value of the one or more variables with a variable name.