Log message storage method and device

A storage location and log technology, which is applied in the field of network communication, can solve the problems of large storage of log messages and inconvenient query, and achieve the effect of large storage and easy classification management

Inactive Publication Date: 2017-11-10
HANGZHOU DPTECH TECH
View PDF4 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] In view of this, the present invention provides a method and device for storing log messages to solve the problem of large storage capacity of log messages and inconvenient query

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

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Reference will now be made in detail to the exemplary embodiments, examples of which are illustrated in the accompanying drawings. When the following description refers to the accompanying drawings, the same numerals in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary examples do not represent all implementations consistent with the present invention. Rather, they are merely examples of apparatuses and methods consistent with aspects of the invention as recited in the appended claims.

[0024] The terminology used in the present invention is for the purpose of describing particular embodiments only and is not intended to limit the invention. As used herein and in the appended claims, the singular forms "a", "the", and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as use...

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 provides a log message storage method and device. The method comprises the steps of when log messages from a log source server are received, extracting first identification information from the log messages based on an information type of preset at least one piece of first classification information, wherein the at least one piece of first classification information is used for subdividing the log messages under the information type of the first classification information; when the first identification information matches one piece of first classification information of the at least one piece of first classification information successfully, determining a storage position corresponding to the piece of first classification information as a first forwarding node, and forwarding the log messages to the first forwarding node; and when second classification information does not exists, storing the log messages in the first forwarding node, wherein the second classification information is preset next classification information. Through application of the embodiment of the invention, the problem that the log messages are high in storage volume and the query is inconvenient is solved.

Description

technical field [0001] The invention relates to the technical field of network communication, in particular to a method and device for storing log messages. Background technique [0002] With the rapid development of computer networks, the security of the network environment is becoming more and more important, and it is usually necessary to store logs generated in the network so that managers can maintain the network environment based on the stored logs. [0003] In the prior art solution, the log is stored in the form of a plain text file, which has a large storage capacity and is inconvenient for query. Contents of the invention [0004] In view of this, the present invention provides a method and device for storing log messages to solve the problem that the log messages are stored in a large amount and are inconvenient to query. [0005] To achieve the above object, the present invention provides technical solutions as follows: [0006] According to a first aspect of...

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): H04L12/24G06F17/30
CPCH04L41/069G06F16/1815
Inventor 李耀东
Owner HANGZHOU DPTECH TECH
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