Unlock instant, AI-driven research and patent intelligence for your innovation.

Log identification method and device

A log and identification technology, applied in the field of identification logs, can solve problems such as large amount of operations

Pending Publication Date: 2020-03-27
BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD +1
View PDF0 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] In view of this, the embodiments of the present invention provide a method and device for identifying logs, which can at least solve the problem of large amount of operations in the prior art for checking and monitoring logs

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 identification method and device
  • Log identification method and device
  • Log identification method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0050] Exemplary embodiments of the present invention are described below in conjunction with the accompanying drawings, which include various details of the embodiments of the present invention to facilitate understanding, and they should be regarded as exemplary only. Accordingly, those of ordinary skill in the art will recognize that various changes and modifications of the embodiments described herein can be made without departing from the scope and spirit of the invention. Also, descriptions of well-known functions and constructions are omitted in the following description for clarity and conciseness.

[0051] For the words involved in the present invention, explain as follows:

[0052] ES: The abbreviation of ElasticSearch, ES is a highly scalable, open source full-text search and analysis engine, which can quickly store, search, and analyze massive data in quasi-real time.

[0053] log4j2: It is an open source project of Apache. By using Log4j, the destination of log i...

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 method and device for identifying logs, and relates to the technical field of computers. One specific embodiment of the method comprises the following steps: when a service request for a target service is detected, intercepting the service request, and obtaining request parameters and service data in the service request; determining a service identifier corresponding to the request parameter, and generating a log file corresponding to the target service in combination with the service data; and when a log access request corresponding to the service identifier is received, determining that the log file corresponds to the log access request and outputting the log file. According to the embodiment, the service identification is carried out on the service request, andthe generated log file is also labeled by the service identification, so that a worker can quickly and accurately position the log file according to the service identification, and a basis is provided for checking log problems.

Description

technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for identifying logs. Background technique [0002] In Internet applications, a large number of logs (logs) are generated every day, and each log records related operation descriptions such as date, time, and user, and these logs need to be stored for query and analysis. [0003] The log is the main basis for viewing the system running status and troubleshooting problems. For the mutual calls between multiple systems, it can locate the problem occurrence point and find the performance bottleneck, so as to realize link call monitoring. [0004] In the process of realizing the present invention, the inventor finds that there are at least the following problems in the prior art: [0005] 1) Usually a system will be developed and maintained by multiple people for a long time, resulting in uneven log styles. It is often difficult to find valid log files when loo...

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
IPC IPC(8): G06F16/18G06F16/13
Inventor 李继永
Owner BEIJING JINGDONG SHANGKE INFORMATION TECH CO LTD
Features
  • R&D
  • Intellectual Property
  • Life Sciences
  • Materials
  • Tech Scout
Why Patsnap Eureka
  • Unparalleled Data Quality
  • Higher Quality Content
  • 60% Fewer Hallucinations
Social media
Patsnap Eureka Blog
Learn More