Server log query and extraction method and device

A server and log technology, applied in the direction of instruments, hardware monitoring, electrical digital data processing, etc., can solve the problems of long extraction time of server logs, high cost, high consumption of log resources, etc., and achieve high scalability and high transformability , the effect of reducing resource consumption

Active Publication Date: 2020-02-11
北纬通信科技南京有限责任公司
View PDF9 Cites 10 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of this, the present invention provides a method and device for querying and extracting server logs, which solves the technical problems in

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
  • Server log query and extraction method and device
  • Server log query and extraction method and device
  • Server log query and extraction method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0056] The application will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the related application, not to limit the application. In addition, it should be noted that, for ease of description, only parts relevant to the present application are shown in the drawings.

[0057] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0058] Such as Figures 1 to 2 as shown, figure 1 It is a schematic flow chart of the steps of a method for querying and extracting server logs in this embodiment; figure 2 It is a schematic diagram of the principle of a method for querying and extracting server logs in this e...

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 server log query and extraction method and a device, and the method comprises the steps: receiving log query command information carrying query keyword information and queryrange information, converting the log query command information into a log query instruction, and writing the log query instruction into an instruction set; starting timed task identification and executing a log query instruction in the instruction set to generate a corresponding query log collection script; querying and extracting a target log on the server according to the query keyword information and the query range information; writing the target log into a log receiving folder according to the server identification identifier; when the instruction set is executed, generating a completionidentifier corresponding to the query log, and adding the completion identifier into the shared folder; and obtaining a target log from each log receiving folder according to the query keyword information and the query range information, and combining to obtain a query log set. According to the method, the time and the cost required by server log extraction are greatly saved.

Description

technical field [0001] The present invention relates to the technical field of server log query, and more specifically, to a method and device for server log query extraction. Background technique [0002] With the increase in website and application visits and usage, many problems and defects (commonly known as bugs) of the website or application itself will be exposed, and if these bugs are not resolved in time, the traffic loss and evaluation of the application or website will be reduced. . At this stage, it mainly depends on the operation and maintenance personnel to find and solve these problems and defects. It is one of the main tasks of operation and maintenance personnel to help developers locate and analyze problems by accurately and quickly finding application logs. [0003] However, with the increase of business volume and the enhancement of functional complexity, most companies now use server clusters, load balancing, etc. to share the access pressure of a sing...

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/14G06F16/176G06F11/30
CPCG06F16/148G06F16/176G06F11/3096G06F11/3065
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