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

A method and a system for classifying and counting logs in real time based on a rule engine

A technology of classification statistics and logs, applied in the field of log statistics, can solve problems such as low efficiency and difficult retrieval, and achieve the effect of simple configuration, easy configuration and use, and strong scalability

Inactive Publication Date: 2019-06-14
SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
View PDF6 Cites 7 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In the existing log statistics scheme, the statistical analysis is generally carried out after the logs are stored in the database, which makes retrieval difficult and inefficient

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 a system for classifying and counting logs in real time based on a rule engine

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0039] Such as figure 1 As shown, the method for real-time classified and statistical logs based on a rule engine of the present invention, the method introduces a rule engine, through log type customization, log attribute customization, log type relationship maintenance and custom log reports, according to the engine rules, in the log Classify logs during collection, automatically add different attributes for different log types as statistical indicators, and select log types and indicators through custom log reports for statistics and display. Specifically include the following steps:

[0040] S1, log type customization, providing a visual configuration interface, need to configure the rule name, rule condition, rule description, and the name of the log type set after the rule is satisfied.

[0041]Rule conditions include candidate fields, operators, and expressions. Candidate fields are standard fields of logs, and operators can be dynamically changed according to field ty...

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 system for classifying and counting logs in real time based on a rule engine, and belongs to the technical field of log statistics. The invention discloses a method for classifying and counting logs in real time based on a rule engine. Rule engine is introduced into the method, log types, log attribute, log type relation maintenance and log report are customized, logs are classified during log collection according to engine rules, different attributes are automatically added for different log types to serve as statistical indexes, and the log types and theindexes are selected for statistics and display through the custom log report. The method for classifying and counting the logs in real time based on the rule engine is simple in configuration, highin expandability and suitable for different statistical scenes, a more accurate data source can be provided for log statistics, it is avoided that the query range is too large, and good application and popularization value is achieved.

Description

technical field [0001] The invention relates to the technical field of log statistics, and specifically provides a method and system for real-time classification and statistics of logs based on a rule engine. Background technique [0002] The traditional log statistics method needs to go through multiple links such as log collection, analysis, storage, and retrieval. Usually in the log collection stage, log filtering is performed to filter the logs that do not need to be counted; in the log parsing link, several standard fields of the log are generally parsed out, such as the time of log occurrence, log source (IP address or host name) , log level, log title, log text, etc., matching the resource table through the log source will also add other device attributes; in the storage link, the log will be stored as an index in the search engine for persistence; finally, in the retrieval phase, generally through Keywords, or regular expressions, retrieve qualified logs from massiv...

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): G06F16/35G06F16/34G06F11/34
Inventor 杨继伟
Owner SHANDONG LANGCHAO YUNTOU INFORMATION TECH CO LTD
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