Method and device for collection of distributed logs
A collection method and collection device technology, applied in the field of log system, can solve problems such as time-consuming and energy-consuming, not necessarily fast and effective problem solving, so as to achieve the effect of reducing workload and ensuring effectiveness
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
no. 1 example
[0049] In the first embodiment of the present invention, a distributed log collection method, such as figure 1 As shown, the process executed on the client side includes the following specific steps:
[0050] Step S101, when a business system in the client invokes the middleware corresponding to the business system based on a request, collect data related to the business system call through the preset buried point in the middleware, and collect the collected data The data is populated into log data along with middleware runtime data. The preset buried point is a segment of program executed at a set time point during the execution of the middleware.
[0051] Specifically, the data related to the business system call includes: the name of the business system, its type, the globally unique ID, the globally unique sequence ID, the current system time, the IP address and port of the calling business system, and the called The IP address and port of the business system on the othe...
no. 3 example
[0070] The third embodiment of the present invention corresponds to the first embodiment. This embodiment introduces a distributed log collection device, which is set on the client side. The device includes the following components:
[0071] The middleware module is used to collect the data related to the business system call through the preset buried point in the middleware when the business system in the client calls the middleware corresponding to the business system based on the request, and collects the The data and the runtime data of the middleware are filled into the log data; the log data is sent to the log collection server for unified storage.
[0072] Specifically, the data related to the business system call includes: the name of the business system, its type, the globally unique ID, the globally unique sequence ID, the current system time, the IP address and port of the calling business system, and the called The IP address and port of the business system on the ...
no. 4 example
[0087] The fourth embodiment of the present invention is a distributed log collection device. The device in this embodiment is substantially the same as that in the first embodiment. The difference is that the device in this embodiment also includes:
[0088] The request screening module is configured to select a corresponding number of requests from all the requests received by the business system according to a preset sampling rate, and call a middleware module for the selected requests.
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