Log analysis method and device, computer equipment and storage medium

The technology of an analysis method and analysis device, which is applied in the field of computer monitoring, can solve the problems of log analysis difficulty, irregularity, and inability to judge the basis of computer equipment, and achieve the effect of improving the credibility of the alarm

Pending Publication Date: 2019-11-08
PING AN TECH (SHENZHEN) CO LTD
View PDF9 Cites 12 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, in practice, different application systems and network devices correspond to different log formats, which brings great difficulty to standardized system log analysis.
At present, there are examples of parsing logs through regular expressions in the existing technology. However, the data parsed by regular expressions is still massive and irregular, and cannot provide a simple and clear basis for judging the overall operation of computer equipment.

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0030] see figure 1 , this embodiment proposes a log parsing method, which specifically includes the following steps:

[0031] S1: In response to the log parsing command, obtain log entries according to different categories, and save the log entries in the first storage space; wherein the categories are determined by the attributes of the device that generates the log entries.

[0032] The so-called log (Log) refers to the time-ordered collection of certain operations of objects specified by the system and their operation results. The special entries of the system log are events generated by operating system components, mainly including crashes of drivers, system components, and application software. and information such as data loss errors. Each log entry is independent and unrelated to each other, and is uniquely identified by a serial number. The function of the log is to describe all events that occur during system operation through log entries at different times, so tha...

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 log analysis method and a log analysis device. The log analysis method comprises: in response to a log analysis command, obtaining log entries according to different categories, and storing the log entries in a first storage space, wherein the categories are determined by device attributes generating the log entries; acquiring the log entry from the first storage space, and analyzing key information with a standardized format from the log entry; storing the key information in a second storage space in the form of a data table; and obtaining target key information fromthe second storage space, performing statistics on the target key information and outputting a report. An alarm threshold value can be preset, and alarm information is output to the statistical form exceeding the threshold value; meanwhile, the feedback result returned by the user according to the alarm information is received, and the alarm threshold is automatically adjusted according to the feedback result, so that the purpose of improving the alarm credibility is achieved.

Description

technical field [0001] The invention relates to the technical field of computer monitoring, in particular to a log parsing method, device, computer equipment and storage medium. Background technique [0002] In the modern operation and maintenance system, large-scale application systems and network equipment need to be managed by an automated monitoring system, and the monitoring of system log (syslog) information is an important part of it. However, in practice, different application systems and network devices correspond to different log formats, which brings great difficulty to standardized system log analysis. At present, there are examples of parsing logs by regular expressions in the prior art. However, the data parsed by regular expressions is still massive and irregular, and cannot provide a simple and clear basis for judging the overall operation of computer equipment. Contents of the invention [0003] The object of the present invention is to provide a log pars...

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): G06F11/32G06F11/34
CPCG06F11/327G06F11/3452G06F11/3476
Inventor 林政飞梁鹏
Owner PING AN TECH (SHENZHEN) 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