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

Log collection method, device, and computer-readable storage medium

A log and program collection technology, applied in the field of log processing, to improve performance, avoid log loss, and ensure stability and security

Inactive Publication Date: 2019-03-15
WEBANK (CHINA)
View PDF5 Cites 13 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The main purpose of the present invention is to provide a log collection method, device and computer-readable storage medium, aiming to solve the technical problem of how to avoid the disadvantages of the log collection method based on disk text files

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 collection method, device, and computer-readable storage medium
  • Log collection method, device, and computer-readable storage medium
  • Log collection method, device, and computer-readable storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0042] The invention provides a log collection device.

[0043] refer to figure 1 , figure 1 It is a schematic structural diagram of the device hardware operating environment involved in the embodiment solution of the log collection device of the present invention.

[0044] Such as figure 1 As shown, the log collection apparatus may include: a processor 1001 , such as a CPU, a communication bus 1002 , a user interface 1003 , a network interface 1004 , and a memory 1005 . Wherein, the communication bus 1002 is used to realize connection and communication between these components. The user interface 1003 may include a display screen (Display), an input unit such as a keyboard (Keyboard), and the optional user interface 1003 may also include a standard wired interface and a wireless interface. Optionally, the networ...

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 collection method, comprising the following steps: calling a log collection API through a service process of a front-end service application, and writing log data generated by the service application into a shared memory queue; The log data is read from the shared memory queue through a log collection agent, and the log data is forwarded to a back-end log collection service. The invention also discloses a log collecting device and a computer-readable storage medium. The invention improves the performance and effect of log collection based on the shared memory queue collection log.

Description

technical field [0001] The present invention relates to the technical field of log processing, in particular to a log collection method, device and computer-readable storage medium. Background technique [0002] In the existing technology, logs are usually collected indirectly based on disk text files, and then the log files stored on the disk files are directly read through the log collection agent deployed on the business server, and the log files are analyzed and sent to the downstream logs Collection Services. [0003] The existing log collection methods based on disk text files mainly have the following disadvantages: [0004] (1) Due to the need to frequently operate the disk device, it may affect the normal reading and writing of the disk by the business service; [0005] (2) Due to the low read and write performance of the disk itself, the log collection agent may be overloaded in the case of continuous high business load, resulting in the loss of business logs. ...

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): G06F9/54
CPCG06F9/544G06F9/546
Inventor 封伟城殷跃向非能蔡声群
Owner WEBANK (CHINA)