A Streaming Online Log Parsing Method
A parsing method and log technology, applied in the file system type, file system, structured data retrieval, etc., can solve the problem that users are difficult to determine how to set, and achieve the effect of fast speed, robust log and high efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0036] The present invention will be described in detail below in conjunction with the accompanying drawings.
[0037] In the present invention, unstructured log text is parsed into structured log type.
[0038] see Figure 6 , the present invention comprises the following steps:
[0039] 1) Preprocess the log text (remove the columns that must be parameters such as timestamp);
[0040] The constant part and the variable part are defined as follows:
[0041] The part of the log that can be used as a log type is called a constant part, and the part that cannot be used as a log type is called a variable part. Such as figure 1 Shown:
[0042] figure 1 Medium logs 1-6 are 6 logs from different systems, and log types 1-4 are log types corresponding to logs 1-6. Among them, the non-italic part is the constant part, that is, the log type; the italic part is the variable part, that is, the parameter.
[0043] 2) Match partition: according to log m i length to search whether t...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


