Log processing method and device, computer device and storage medium
A processing method and log technology, applied in the network field, can solve the problems of high distortion rate, occupation of large storage resources, incomplete links, etc., and achieve the effect of reducing the amount of storage, solving the large consumption of storage resources, and reducing the distortion rate.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0027] figure 1 It is a flow chart of a log processing method in Embodiment 1 of the present invention. This embodiment is applicable to the case of collecting and storing log data. The method can be executed by the log processing device provided in the embodiment of the present invention. The device can It is implemented by means of software and / or hardware, and generally can be integrated into computer equipment, such as a server. Such as figure 1 As shown, the method of this embodiment specifically includes:
[0028] S110. Obtain link log data of at least one call chain respectively; wherein, the link log data of the call chain is formed by statistically integrating log data collected in a full collection manner.
[0029] The call chain is used to describe the call path of the service node associated with the process from receiving the request initiated by the client to responding to the client. Exemplarily, the invocation path of a resource is encapsulated into a node, ...
Embodiment 2
[0069] Figure 2a It is a flow chart of a log processing method in Embodiment 2 of the present invention. This embodiment is embodied on the basis of the above embodiments, and the link log data of at least one call chain is respectively obtained, and is embodied as: from Reading the log data in the message queue; according to the link identification information in the multiple pieces of the log data, statistically integrating each of the log data to form link log data of at least one call chain. Such as Figure 2a As shown, the method of this embodiment specifically includes:
[0070] S210, read log data from the message queue.
[0071]Message queues are used to store messages during their transmission. Log data is used as pending data stored in the message queue, waiting to be read and processed.
[0072] In the message queue mechanism, the message producer (Producer): sends a message to the message queue. In this embodiment, the log collector is a message producer.
...
Embodiment 3
[0124] image 3 It is a schematic diagram of a log processing device in Embodiment 3 of the present invention. Embodiment 3 is a corresponding device for implementing the log processing method provided by the above embodiments of the present invention. The device can be implemented in the form of software and / or hardware, and can generally be integrated into computer equipment, such as a server.
[0125] Correspondingly, the device of this embodiment may include:
[0126] The link log data acquisition module 310 is configured to obtain link log data of at least one call chain respectively; wherein, the link log data of the call chain is formed by statistically integrating log data collected in a full collection mode;
[0127] A service node status analysis module 320, configured to analyze the status of service nodes associated with each of the call chains according to the link log data;
[0128] An exception storage module 330, configured to store the call chain generated b...
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