Distributed log processing system and method
A processing system and distributed technology, applied in the field of log processing, can solve the problems of long call log link, low query efficiency, and long log link, etc., to achieve the effect of improving efficiency and improving log processing efficiency
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0041] For the above questions, please refer to the figure 1 , figure 1A schematic structural diagram of a distributed log processing system provided by an embodiment of the present application is shown, and the distributed log processing system includes a client 100 , a gateway 200 , a microservice platform, a log collection module 400 and a search server 500 . Wherein, the microservice platform includes a microservice module A301, a microservice module B302 and a microservice module C303. It can be understood that the microservice platform includes several microservice modules, where microservice module A301, microservice module B302, and microservice module C303 are the number of microservice modules used to execute the current operation instruction.
[0042] Specifically, the client 100 receives an operation instruction executed by the user on the webpage, and sends an operation request carrying an operation identifier corresponding to the operation instruction to the mic...
Embodiment 2
[0072] figure 2 It is a flow chart of a distributed log processing method provided by the embodiment of the present application. Such as figure 2 As shown, the distributed log processing method provided by the embodiment of the present application includes:
[0073] Step S101: the client receives an operation instruction executed by a user on a web page, and sends an operation request carrying an operation identifier corresponding to the operation instruction to the microservice platform.
[0074] Step S102: Multiple target microservice modules in the microservice platform execute the processing operation indicated by the operation instruction corresponding to the operation identifier in the operation request, record the log file of each target microservice module executing the processing operation, and record the operation identifier and recorded log files are sent to the search server.
[0075] Step S103: The search server constructs a log database storing the operation...
Embodiment 3
[0084] Embodiments of the present application provide a solution for customizing log collection, search and display in a distributed system. The steps to implement the solution are:
[0085] (1) Abstract an independent log collection module, automatically inject custom beans through springboot framework tools, configure related interceptors, annotations and aspect logic configurations, and generate public lockback.xml log files;
[0086] (2) Every time the front end (ie, the client page) receives an operation instruction from the user, the UUID corresponding to the operation instruction is set in the header file;
[0087] (3) Based on AOP logic, define the package name that needs to be processed and the logic that needs to be woven, that is, add dependencies to the pom of the target microservice module used to respond to operation instructions, and point the log configuration file of the microservice module to the log collection module log configuration file;
[0088] (4) Bu...
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