Log file analysis method and system
A log file and analysis method technology, applied in the field of log file analysis methods and systems, can solve the problems of log file location search and low search efficiency, and achieve the effects of increasing readability, location search, and convenient reading
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0038] refer to figure 1 , which shows a flow chart of the steps of an embodiment of a method for analyzing a log file according to an embodiment of the present invention, which may specifically include the following steps:
[0039] In step 101, a database is established, and the database includes process keywords and / or object keywords.
[0040] In this embodiment, before analyzing the log files, a database is established first. The database can specifically include a process database and an object database, wherein the process database includes process keywords, which can specifically be keywords that mark the start or end of a process; the object database includes object keywords, which are keys that can distinguish objects A word, specifically an object name. The object database can be established according to the actual hardware conditions during the specific implementation.
[0041] It should be noted that this embodiment does not limit the specific method of establis...
Embodiment 2
[0055] On the basis of the foregoing embodiments, this embodiment continues to describe the method for analyzing log files.
[0056] refer to figure 2 , which shows a flow chart of the steps of an embodiment of a method for analyzing a log file according to an embodiment of the present invention, which may specifically include the following steps:
[0057] In step 201, a database is established, and the database includes process keywords and / or object keywords.
[0058] In this embodiment, before analyzing the log files, a database is established first. The database can specifically include a process database and an object database, wherein the process database includes process keywords, which can specifically be keywords that mark the start or end of a process; the object database includes object keywords, which are keys that can distinguish objects A word, specifically an object name. The object database can be established according to the actual hardware conditions duri...
Embodiment 3
[0082] On the basis of the foregoing embodiments, this embodiment continues to describe the method for analyzing log files, and specifically describes the method for analyzing log files according to a flow.
[0083] refer to Figure 5 , shows a flow chart of the steps of an embodiment of a method for analyzing log files according to a process according to an embodiment of the present invention, which may specifically include the following steps:
[0084] Step 501, extract a new line of text stream from the beginning of the log file.
[0085] It should be noted that this embodiment is to clearly describe the method of analyzing log files according to the process, so the part related to the process analysis method in the previous embodiment is extracted for illustration, and the same part as the process analysis method and the object analysis method For example, the database is established first, and this embodiment will not be described in detail here, and it can be understood...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


