Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

A method and device for automatically generating log parsing rules

An automatic generation and rule 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, reducing difficulty and complexity

Active Publication Date: 2022-04-19
北京仁和诚信科技有限公司
View PDF9 Cites 0 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 is difficult and complex, and the efficiency of log parsing rule development is extremely low

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
  • A method and device for automatically generating log parsing rules
  • A method and device for automatically generating log parsing rules
  • A method and device for automatically generating log parsing rules

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0020] The present invention will be described in further detail below with reference to the accompanying drawings, so as to make the present invention clearer and easier to understand. Those skilled in the art would recognize that the described embodiments can be modified in various ways or combinations thereof without departing from the spirit and scope of the invention. Accordingly, the drawings and description are illustrative in nature and not intended to limit the scope of the claims. Also, in this specification, the drawings are not drawn to scale, and like reference numerals denote like parts.

[0021] Combine below Figure 1-3 Embodiments of the present invention will be described in detail.

[0022] The method for automatically generating log parsing rules of the present invention includes: a log word segmentation step, a grammatical analysis step, a regular generation step and a field mapping step.

[0023] In the log word segmentation step, the new device log is...

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 method and device for automatically generating log parsing rules. The method includes: a log word segmentation step, receiving newly added equipment logs, and automatically segmenting the newly added equipment logs; a grammar analysis step, analyzing the separated words A grammar definition is given; a regular generation step is to generate a regular expression of parsing rules according to the grammar definition; and a field mapping step is to automatically apply the regular expression of parsing rules to the server-side parsing engine. Through the present invention, the user can automatically complete device log access without writing any code, which greatly reduces the difficulty and complexity of log parsing, thereby improving the efficiency of log parsing rule development.

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F40/253G06F40/289
CPCG06F40/253G06F40/289
Inventor 邸壮
Owner 北京仁和诚信科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products