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

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

CN112256530AInactive Publication Date: 2021-01-22广州助蜂网络科技有限公司

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
22 Jan 2021
Publication
CN112256530A
IPC
G06F11/30
CPC
G06F11/3006; G06F11/302; G06F11/3089
Inventors
陈志威; 廖阳春