Log service method and system capable of link tracking

A technology of link tracking and service method, which is applied in the field of information processing, can solve problems such as repeated wheel creation, achieve a unified log format, and efficiently solve service problems

Inactive Publication Date: 2021-01-22
广州助蜂网络科技有限公司
View PDF14 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] In view of the shortcomings of the prior art described above, the purpose of the present invention is to provide a log service method, which can solve the problem of repeated wheel creation in the existing problems, standardize the log format, add link identification, and disperse the differences to The service logs on different machines are centralized, which is convenient for maintenance personnel to manage and locate, and improves work efficiency

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Log service method and system capable of link tracking
  • Log service method and system capable of link tracking
  • Log service method and system capable of link tracking

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] Embodiments of the present invention are described below through specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the content disclosed in this specification. The present invention can also be implemented or applied through other different specific implementation modes, and various modifications or changes can be made to the details in this specification based on different viewpoints and applications without departing from the spirit of the present invention.

[0042] see figure 1 , Embodiment 1 of the present application is a link traceable log service method, including steps S101-S107, specifically as follows:

[0043] S101: Acquiring log data from an application program, specifically acquiring log data from a business service program. Log data includes general log data and operation log data. During the running of the application, two kinds of log data are generated, one is service oper...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

PUM

No PUM Login to view more

Abstract

The invention discloses a log service method and system capable of link tracking, and the method comprises the steps: obtaining log data from a business service program, and the log data comprises common log data and operation log data; standardizing the log output format of the common log data adding through a Lombok plug-in, burying link points through an MDC based on the Lombok plug-in, addinga user request identifier once, and standardizing an inter-service protocol to generate a common log file; generating an operation log file in a customized manner according to the operation log data;distributing the common log file and the operation log file to an ELK service through Filebeat; filtering and analyzing the common log file and the operation log file through Logstash to form structured data, and forwarding the structured data to Elasticsearch; and displaying the stored common log file and the operation log file. According to the method, the log format is standardized, the link identifiers are added, the service logs are centralized, and maintenance personnel can manage and position conveniently.

Description

technical field [0001] The invention belongs to the technical field of information processing, and in particular relates to a link-traceable log service method and system thereof. Background technique [0002] With the rapid development of the Internet, different from the traditional software model, the Internet cloud platform has the characteristics of more massive data, high concurrency, and rapid changes in demand. In recent years, with the development of 5G and the company's entry into the field of Internet of Things, it will bring higher challenges to the software system. [0003] In order for the software system to support the strategic layout of the enterprise, the software system gradually transitions from a centralized, vertical model to a distributed, micro-service architecture. At the same time, it provides many supporting operation and maintenance tools and management methods to adapt to this architecture model. Microservice is a software architecture to solve ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to view more

Application Information

Patent Timeline
no application Login to view more
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/30
CPCG06F11/3006G06F11/302G06F11/3089
Inventor 陈志威廖阳春郑广彬
Owner 广州助蜂网络科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products