Operation Log Identification for Microservice Abnormality Analysis
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Existing log systems struggle to efficiently filter and analyze log entries related to specific operations due to the lack of informative trace identifiers, making it difficult to determine the cause of problems.
Innovation Solution
The solution involves determining identification information for an operation that includes fields indicating both the content and unique identification of the operation, allowing for the identification and acquisition of relevant log entries from log files, enabling targeted analysis.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Ease of operation
If traditional log systems are used without informative trace identifiers, then the system complexity is low, but it becomes difficult to filter and analyze log entries related to specific operations
Solution Approach 1:
The identification information is segmented into multiple fields including operation content fields and unique identification fields. This segmentation allows the system to filter and analyze logs based on specific operation content while maintaining unique tracking capability, resolving the contradiction between ease of log analysis and system complexity.
Solution Approach 2:
The patent introduces identification information as an intermediary element that bridges the gap between operations and log entries. This intermediary contains structured fields that enable efficient filtering and analysis of logs related to specific operations without requiring complex system-wide changes.
2Reliability
If a large number of logs with warning level or higher are collected, then comprehensive monitoring is achieved, but it becomes difficult to determine log entries for specific operations and trace problem causes
Solution Approach 1:
The patent extracts operation-specific information into dedicated fields within the identification information structure. By taking out operation content and unique identification into separate fields, the system can efficiently filter and retrieve logs for specific operations from the large volume of collected logs, preventing information loss and improving problem diagnosis accuracy.
Solution Approach 2:
The patent changes the parameter structure of log identification by introducing structured fields for operation content and unique identification. This parameter change enables the system to maintain comprehensive log collection while improving the ability to identify and trace operation-specific logs, thus enhancing reliability without losing information.
3Productivity
If detailed identification information with multiple fields is implemented, then targeted analysis of operations is facilitated, but the complexity of log processing increases
Solution Approach 1:
The identification information is divided into structured fields including operation content fields and unique identification fields. This segmentation enables targeted analysis of specific operations by allowing filters to work on individual fields, improving productivity while keeping the processing system manageable through field-by-field operations.
Solution Approach 2:
The structured identification information serves multiple functions simultaneously: it enables filtering by operation content, tracking by unique identification, and structured analysis. This multi-functionality improves operation analysis efficiency without requiring separate systems for each function, thus managing complexity while enhancing productivity.
Data Source
AI summary
Embodiments of the present disclosure provide a method, an electronic device, and a computer program product for data processing. The method described herein includes determining identification information for an operation, wherein the identification information includes at least one field indicating content of the operation and a field indicating a unique identification of the operation. The method further includes identifying, based on the identification information, log entries for the operation in log files for at least one microservice invoked by the operation. The method further includes determining a log for the operation, wherein the log includes the identified log entries. With the solution for data processing of the present application, it is possible to easily acquire logs for an operation using identification information that includes a field indicating the content of the operation, so as to facilitate targeted analysis of the operation based on the content of the operation.


