NLP Classifier for Automated Error Log Diagnosis
Find Innovative SolutionsGenerate Solutions
Solution Overview
Problem
Diagnosing execution problems from large and complex error logs is challenging due to the vast amount of detailed information, making it difficult for investigators to quickly identify relevant log statements, which is time-consuming and prone to human errors.
Innovation Solution
Employing machine learning and natural language processing to classify log statements into categories, enabling the automatic identification and filtering of problem-related statements, reducing the need for manual sifting through extensive log data.
Engineering Contradictions & Design Principles
Engineering Contradiction Analysis
1Measurement precision
If manual analysis of error logs is performed, then investigators can identify problem-related log statements, but the process is time-consuming and prone to human errors due to the massive amount of detailed information
Solution Approach 1:
The patent replaces the manual mechanical process of log analysis with an automated computer-based system using natural language processing and machine learning. The system automatically classifies log statements into categories (environment information, execution results, problems, generation information) and identifies problem-related statements, eliminating human effort and reducing errors while significantly decreasing analysis time
Solution Approach 2:
The system enables self-service by automatically analyzing and classifying error logs without requiring human investigators to manually examine each log statement. The automated classification and problem identification mechanisms allow the system to serve itself in diagnosing execution problems, freeing investigators from time-consuming manual analysis
2Loss of information
If all log statements are retained and analyzed, then complete information is available for diagnosis, but the complexity and difficulty of finding relevant information increases significantly
Solution Approach 1:
The patent segments the massive error log into categorized groups using automated classification. Log statements are divided into distinct categories (environment information, execution results, problems, generation information), making it easier to locate and analyze specific types of information without being overwhelmed by the complete log content
Solution Approach 2:
The system extracts and isolates problem-related log statements from the complete log file using natural language processing and classification algorithms. By automatically identifying and extracting relevant problem information, the system maintains completeness of diagnostic data while reducing the complexity of finding and analyzing relevant statements
3Productivity
If automated classification systems are implemented, then analysis time is reduced and productivity increases, but the system complexity and computational resources required increase
Solution Approach 1:
The patent implements automated classification systems that replace manual analysis processes, significantly increasing productivity in problem diagnosis. The system uses natural language processing and machine learning algorithms to automatically classify log statements and identify problems, reducing analysis time from hours or days to minutes while managing computational complexity through efficient algorithm design
Data Source
AI summary
Disclosed is a solution for diagnosing problems from logs used in an application development environment. A random sample of log statements is collected. The log statements can be completely unstructured and/or do not conform to any natural language. The log statements are tagged with predefined classifications. A natural language processing (NLP) classifier model is trained utilizing the log statements tagged with the predefined classification. New log statements can be classified into the plurality of predefined classifications utilizing the trained NLP classifier model. From the log statements thus classified, statements having a problem classification can be identified and presented through a dashboard running in a browser. Outputs from the trained NLP classifier model can be provided as input to another trained model for automatically and quickly identifying a type of problem associated with the statements, eliminating a need to manually sift through tens or hundreds of thousands of lines of logs.


