Method and apparatus for format log push

A technology for pushing devices and logs, applied in the computer field, can solve problems such as difficulty in unification and irregular push logs, and achieve the effect of a clear and unified log format.

Inactive Publication Date: 2018-12-21
ZHEJIANG NUMBER CHAIN TECH CO LTD
View PDF7 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] In view of this, the purpose of the embodiments of the present invention is to provide a method and device for pushing formatted logs, so as to improve the problem that existing push logs are not standardized and difficult to unify

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
  • Method and apparatus for format log push
  • Method and apparatus for format log push
  • Method and apparatus for format log push

Examples

Experimental program
Comparison scheme
Effect test

no. 1 example

[0041] This embodiment provides a method for pushing formatted logs. To improve the existing log push, there is no unified format, and it is not easy to manage. see figure 2 , figure 2 The method for pushing formatted logs provided by this embodiment is shown.

[0042] The formatted log pushing method includes step S10 to step S30.

[0043] Step S10: Obtain log content information.

[0044] Logs are information that records hardware, software, and system problems in the system, and can also monitor events that occur in the system. Users can use it to check why the error occurred, or to find traces left by the attacker when it was attacked. System logs include system logs, application logs, and security logs.

[0045] The logs in the computer system record useful information generated during the operation of the software and hardware. Users can use the logs to discover or continue to pay attention to technical or business errors, such as BUG.

[0046] Firstly, obtain t...

no. 2 example

[0070] This embodiment provides an apparatus 200 for pushing formatted logs, and the apparatus 200 for pushing formatted logs is used to implement the method for pushing formatted logs in the first embodiment. see Figure 5 , Figure 5 A schematic diagram of functional modules of the apparatus for pushing formatted logs 200 provided in this embodiment is shown.

[0071] It should be noted that the formatted log push device 200 provided in this embodiment is used to execute the formatted log push method, and its basic principle is basically the same as the formatted log push method in the first embodiment. For a brief description, this embodiment This will not be described in detail in this example, and details are not introduced in this embodiment, please refer to the relevant content in the first embodiment.

[0072] The device 200 for pushing formatted logs includes an acquisition module 210 , a generation module 220 and a push module 230 .

[0073]Wherein, the acquiring ...

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 provides a formatted log pushing method and device. The formatted log pushing method comprises the following steps: acquiring log content information; Generating a log to be sent according to the acquired log content information according to a preset model; The log to be sent is pushed. By extracting log time, log initiator, log subject and log string value of log content information; The log time, the log initiator, the log subject and the log string value are arranged and stitched according to a preset rule to form a log to be sent. The log format is clear and unified, which isconducive to the analysis and collation of users' logs, and easily statistics out some subject data, such as user's PV / UV visits, etc.

Description

technical field [0001] The present invention relates to the field of computer technology, in particular to a method and device for pushing formatted logs. Background technique [0002] The logs in the computer system record useful information generated during the operation of the software and hardware. Users can use the logs to discover or continue to pay attention to technical or business errors and pain points. For a long time, there is no specific specification for the format of log records. Various programs and related business lines can agree on a format according to the developer's own habits. This complicates the subsequent summarization of logs, often requiring a layer of format conversion. Contents of the invention [0003] In view of this, the purpose of the embodiments of the present invention is to provide a method and device for pushing formatted logs, so as to improve the problem that existing pushed logs are not standardized and difficult to unify. [0004...

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): G06F11/30
CPCG06F11/3072
Inventor 胡添添孙力火
Owner ZHEJIANG NUMBER CHAIN TECH CO LTD
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