Automatic generation method and device for log parsing rule

An automatic generation and rule-based technology, applied in the field of security management, can solve the problems of low log efficiency, high complexity, and difficulty in log parsing, and achieve the effect of improving efficiency and reducing difficulty and complexity

Active Publication Date: 2018-09-21
北京仁和诚信科技有限公司
View PDF9 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The purpose of the present invention is to solve the technical problem that log parsing

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
  • Automatic generation method and device for log parsing rule
  • Automatic generation method and device for log parsing rule
  • Automatic generation method and device for log parsing rule

Examples

Experimental program
Comparison scheme
Effect test

Example Embodiment

[0020] Hereinafter, the present invention will be described in further detail with reference to the accompanying drawings, so that the present invention is clearer and easier to understand. Those of ordinary skill in the art can realize that the described embodiments can be modified in various different ways or combinations thereof without departing from the spirit and scope of the present invention. Therefore, the drawings and description are illustrative in nature, and are not used to limit the protection scope of the claims. In addition, in this specification, the drawings are not drawn to scale, and the same reference numerals denote the same parts.

[0021] Combine below Figure 1-3 The embodiments of the present invention are described in detail.

[0022] The log parsing rule automatic generation method of the present invention includes: log word segmentation step, grammatical analysis step, regular generation step and field mapping step.

[0023] In the log word segmentatio...

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 an automatic generation method and device for a log parsing rule. The method comprises the following steps that: log word segmentation: receiving a new equipment log, and carrying out automatic word segmentation on the new equipment log; grammatical analysis: endowing the segmented word with a grammatical definition; regular generation: according to the grammatical definition, generating a parsing rule regular expression; and field mapping: enabling the parsing rule regular expression to be automatically acted to a service side parsing engine. Through the method, a usercan automatically finish equipment log access on a premise that no codes need to be compiled, log parsing difficulty and complexity can be greatly lowered, and thereof, efficiency for carrying out parsing rule development on the log is improved.

Description

technical field [0001] The invention relates to the technical field of security management, in particular to a method and device for automatically generating log parsing rules. Background technique [0002] In the prior art, by writing codes to access the newly added device logs in the computer, parsing the logs is difficult and complex, and the efficiency of developing parsing rules for the logs is extremely low. Contents of the invention [0003] The purpose of the present invention is to solve the technical problem that log parsing is difficult and complex, and thus the efficiency of log parsing rule development is extremely low. [0004] In order to achieve the above object, the present invention adopts the following technical solutions: [0005] The present invention provides a method for automatically generating log parsing rules, comprising: a log word segmentation step, receiving a newly added device log, and performing automatic word segmentation on the newly add...

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): G06F17/27
CPCG06F40/253G06F40/289
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