Log analysis method and device, computer equipment and storage medium
An analysis method and log technology, applied in the field of data processing, can solve the problems of cumbersome process of analyzing log and locating abnormality, achieve the effect of efficient analysis and problem location, and simplify the analysis process
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0026] figure 1 This is a flowchart of the log analysis method provided in Embodiment 1 of the present invention. This embodiment can be applied to the situation of analyzing logs and locating problems. The method can be executed by a log analysis device, and the device can use software and / or hardware. way to achieve. like figure 1 As shown, the method specifically includes:
[0027] S101. In response to the log analysis request, search for a service chain log information group corresponding to the log analysis request from the log according to the service chain identifier buried point information in the log.
[0028] One of the purposes of analyzing the log is to locate the problem. Take the takeaway order system as an example. If the user reports that he has placed an order, but the delivery record cannot be queried after half an hour, the log generated by the order system needs to be analyzed. to find the problem. Usually, the user will provide order-related informatio...
Embodiment 2
[0047] figure 2 This is a flowchart of the log analysis method provided in the second embodiment of the present invention, and the second embodiment is further optimized on the basis of the first embodiment. like figure 2 As shown, the method includes:
[0048] S200. Store a pre-defined directed graph of business chains. Wherein, the business chain directed graph is defined in advance according to all business scenarios using an adjacency matrix, the adjacency matrix includes adjacent vertices and adjacent edges, and the content stored by the adjacent vertices includes node identification, current node description, root node identification, adjacent The content stored by the edge includes the current node ID, the successor node ID, the current process description and the order within the group.
[0049] S201. In response to the log analysis request, search the log for a log whose business chain tracking identifier and time stamp identifier match the information in the log...
Embodiment 3
[0060] image 3 This is a schematic structural diagram of the log analysis device in Embodiment 3 of the present invention, and this embodiment can be applied to the situation of analyzing logs and locating problems. like image 3 As shown, the log analysis device 3 includes:
[0061] The search module 310 is configured to, in response to the log analysis request, find out the business chain log information group corresponding to the log analysis request from the log according to the business chain identifier buried point information in the log;
[0062] The reorganization module 320 is configured to reorganize the log information in the log information group of the business chain according to the predefined directed graph of the business chain and the buried point information of the reorganized business chain in the log, and generate a corresponding log analysis request. The directed graph of the target business chain;
[0063] The determining module 330 is configured to l...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com