Log Augmentation System for Micro-Service Pattern Recognition

Resolve Bottlenecks,
Find Innovative Solutions
Generate Solutions

Solution Overview

Problem

In micro-service applications, traditional logging solutions struggle to effectively manage and isolate failures, leading to unnecessary error or warning logs due to changes in the logging environment, necessitating an improved logging solution that recognizes micro-service patterns.

Innovation Solution

A log augmentation system that includes a trigger device, augmentation rules database, coordinator, and labeler to enhance log management by triggering processes responsive to micro-service events, determining augmentation directions, coordinating the augmentation process, and applying labels to log entries using a rule-based decision approach.

Engineering Contradictions & Design Principles

VSEngineering Contradiction Analysis

1Adaptability or versatility

If traditional logging solutions are used in micro-service applications, then the logging environment can be maintained in a simple manner, but the logging system cannot effectively recognize micro-service patterns and will generate unnecessary error or warning logs

Engineering Contradiction:
Improvelogging system adaptability to micro-service patternsVSAvoidunnecessary error or warning logs
Core Design Contradiction:
Adaptability or versatilityVSObject-generated harmful factors

Solution Approach 1:

The logging system is segmented into multiple independent components: a pattern recognition module that identifies micro-service patterns, a rule-based decision module that evaluates log entries against defined rules, and a log processing module that applies actions. This segmentation allows each component to specialize in specific tasks, improving the system's ability to recognize micro-service patterns while filtering unnecessary logs through dedicated rule evaluation and action application mechanisms.

Inventive Principle:
Principle #1Segmentation

Solution Approach 2:

The logging system implements dynamic rule-based decision-making where rules can be configured, modified, and applied in real-time based on micro-service patterns. The system dynamically adjusts log processing actions (suppress, elevate, route) based on pattern recognition results and rule evaluations, allowing the logging behavior to adapt flexibly to different micro-service scenarios without requiring system restructuring.

Inventive Principle:
Principle #15Dynamics

2Measurement precision

If micro-service patterns are recognized and applied in logging, then log accuracy and relevance are improved, but the logging system complexity increases

Engineering Contradiction:
Improvelog entry accuracy and relevanceVSAvoidlogging system structure
Core Design Contradiction:
Measurement precisionVSDevice complexity

Solution Approach 1:

The rule-based decision module serves multiple functions: it evaluates log entries against patterns, determines appropriate actions (suppress, elevate, route), and can be configured with different rule sets for various micro-service types. This multi-functionality reduces the need for separate specialized components for each logging task, thereby improving log accuracy while limiting complexity growth through functional consolidation.

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

Solution Approach 2:

The rule-based decision module acts as an intermediary between pattern recognition and log processing. It receives pattern matching results, evaluates them against configurable rules, and translates them into concrete log processing actions. This intermediary layer simplifies the overall system architecture by providing a standardized interface between pattern recognition and execution, reducing direct complexity between components while maintaining high log entry accuracy.

Inventive Principle:
Principle #24Intermediary (Mediator)

Data Source

PatentUS11055192B2Logging implementation in micro-service applications
Publication Date: 2021.07.06 INTERNATIONAL BUSINESS MACHINE CORPORATION
  • US11055192B2 patent drawing
  • US11055192B2 patent drawing
  • US11055192B2 patent drawing

AI summary

A log augmentation system is provided for augmenting log management in a distributed micro-services environment. The log augmentation system includes a trigger device for triggering an augmentation process responsive to micro-service related events and a context of the micro-service related events. The log augmentation system further includes an augmentation rules database with rule management components for determining an augment direction, an augmentation target, and an augmentation correlation relating to the distributed micro-services. The log augmentation system also includes a coordinator for coordinating the augmentation process in the distributed micro-service using a rule-based decision approach. The log augmentation system additionally includes a labeler for applying a set of labels to augment log entries responsive to instructions from the coordinator derived from results of the rule-based decision approach used by the coordinator.