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

Log processing method, equipment, computer device and computer readable storage medium

A processing method and processing device technology, applied in the Internet field, can solve the problems of slow log collection, difficult analysis, slow statistics, etc., and achieve the effect of improving orderliness, improving processing effect, and improving efficiency

Inactive Publication Date: 2019-11-29
湖南星汉数智科技有限公司
View PDF4 Cites 19 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] Embodiments of the present invention provide a log processing method, device, computer device, and computer-readable storage medium, aiming to solve the problem of slow log collection, large log data and miscellaneous log data in the process of collecting and summarizing log data and unified analysis in the prior art. , Slow statistics, difficult analysis, resulting in poor log data processing effect

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0030] In order to make the object, technical solution and advantages of the present invention clearer, the present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described here are only used to explain the present invention, not to limit the present invention.

[0031] figure 1 Shown is a flow chart of the log processing method provided by the embodiment of the present invention. The log processing method includes the following processes:

[0032] Step S101. Obtain log information through the Kafka system, and the log information includes log data of multiple projects; store the log data in a topic with the same name as the project to which it belongs.

[0033] In this embodiment, each module or each project of the application may be run through different servers to obtain log data of each module or each project. The server can send the obtained log dat...

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 is applicable to the technical field of the Internet, and provides a log processing method, equipment, a computer device and a computer readable storage medium. The method comprises thefollowing steps: acquiring log information through a Kafka system, the log information comprising log data of a plurality of items; storing the log data into topic topics with the same project names as the log data; analyzing log data obtained from topic topics according to a custom data format through a data processing module developed by a JStorm framework to obtain analyzed log data; and storing the analyzed log data into a corresponding data table in an ElasticSearch database through a data storage module developed by a JStorm framework according to a database type, a database name and a target data table specified by a preset analysis rule. According to the log processing method provided by the invention, the log data acquired from the Kafka system can be analyzed according to the self-defined data format, and the analyzed log data is stored into the corresponding table in the ElasticSearch database, so that the log data processing effect is improved.

Description

technical field [0001] The invention belongs to the technical field of the Internet, and in particular relates to a log processing method, device, computer device and computer-readable storage medium. Background technique [0002] Generally, when the log data needs to be processed, the log data is directly written in the file, and then the required data is searched in the file. However, in a big data and distributed environment, there are many log data types, large quantities, and wide distribution. Generally, large-scale systems have a distributed deployment architecture, that is, different data processing modules are deployed on different servers. Logs corresponding to each data processing module are also stored on each server. In the prior art, in the process of collecting and summarizing log data and analyzing them in a unified manner, log collection is slow, log data is numerous and complex, statistics are slow, and analysis is difficult, resulting in poor log data pr...

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/21G06F16/22G06F11/32
CPCG06F11/327G06F16/1815G06F16/211G06F16/2282
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