Log analysis method and device

A log and configuration file technology, applied in the field of log parsing, can solve problems such as time-consuming and labor costs, changes, etc., and achieve the effect of facilitating statistical analysis, saving time and labor costs

Active Publication Date: 2019-02-12
亚信科技(成都)有限公司
View PDF6 Cites 23 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Moreover, during the process of using the log, its format often changes due to changes in business requirements, resulting in the need to manually update and maintain the parsing code of the log, which requires a lot of time and labor costs

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0013] The log parsing method and device provided in the embodiments of the present application will be described in detail below with reference to the accompanying drawings.

[0014] The term "and / or" in this article is just an association relationship describing associated objects, which means that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist simultaneously, and there exists alone B these three situations.

[0015] The terms "first" and "second" in the specification and drawings of the present application are used to distinguish different objects, or to distinguish different processes for the same object, rather than to describe a specific sequence of objects.

[0016] In addition, the terms "including" and "having" mentioned in the description of the present application and any variations thereof are intended to cover non-exclusive inclusion. For example, a process, method, system, product or device comprising a series o...

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 embodiment of the invention discloses a log analysis method and a log analysis device, which relate to the computer technical field and can perform data analysis on the unstructured data so as toconvert the unstructured data into structured data for the subsequent statistical analysis. The method comprises the following steps of obtaining an original log; according to the format of the original log, finding a target first matching rule corresponding to the format of the original log in the preset configuration file; determining a second number of target data fields from the first number of data fields, and a field name, an index number, and a field attribute corresponding to each of the target data fields according to a target first matching rule; combining the second number of targetdata fields and the corresponding field names, index numbers and field attributes of each target data field according to a preset format to obtain the analyzed log.

Description

technical field [0001] Embodiments of the present invention relate to the field of computer technology, and in particular, to a log analysis method and device. Background technique [0002] In the existing implementation scheme, logs in different formats need to be parsed using corresponding parsing methods. Today, with the rapid development of big data, there are various log formats. Every time a log in a new format is encountered, it is necessary to manually write the corresponding parsing code to parse the log. Moreover, during the process of using the log, its format often changes due to changes in business requirements, resulting in the need to manually update and maintain the parsing code of the log, which requires a lot of time and labor costs. Contents of the invention [0003] Embodiments of the present invention provide a log analysis method and device, which use a common method to analyze logs in different formats, thereby facilitating subsequent statistical an...

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): G06F16/18G06F16/2455
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