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

Method and device for collecting logs based on cloud computing platform

A cloud computing platform and log technology, applied in the computer field, can solve the problems of a large amount of log collection tasks, low work efficiency, and lack of ease of use, and achieve the effect of log collection.

Inactive Publication Date: 2014-07-23
OPZOON TECH
View PDF4 Cites 2 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

A huge number of servers and a large number of services collect logs one by one. The task is heavy, the work efficiency is low, and it is not easy to use

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
  • Method and device for collecting logs based on cloud computing platform
  • Method and device for collecting logs based on cloud computing platform

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0024] The embodiments of the present invention will be described in detail below in conjunction with the accompanying drawings.

[0025] Such as figure 1 As shown, an embodiment of the present invention provides a method for collecting logs based on a cloud computing platform, which specifically includes the following steps:

[0026] Step S1: Divide multiple servers into different groups, where the rsyslog tool runs on each server.

[0027] Specifically, the manner of dividing the multiple server groups is: dividing the servers into groups according to physical networks, according to regions, and / or according to a combination of physical networks and regions.

[0028] Step S2: Randomly select two servers in each group, and start rsyslog-cluster_1 and rsyslog-cluster_2 services respectively.

[0029] Specifically, rsyslog-cluster_1 and rsyslog-cluster_2 services have different configuration files.

[0030] Step S3: Configure the rsyslog-cluster_1 and rsyslog-cluster_2 services to receive...

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 relates to a method for collecting logs based on a cloud computing platform. The method includes the steps that a plurality of servers are divided into different clusters; two servers are randomly selected from each cluster and a rsyslog-cluster_1 service and a rsyslog-cluster_2 service are respectively started; the rsyslog-cluster_1 service and the rsyslog-cluster_2 service are configured to receive log information sent by a rsyslog on each server in the servers; the rsyslog-cluster_1 service and the rsyslog-cluster_2 service are respectively configured to send the received information to a rsyslog-site_1 and a rsyslog-site_2 respectively; the rsyslog-site_1 and the rsyslog-site_2 are started to receive the log information of the servers. Rsyslog tools are adopted and corresponding services are configured, the logs can be collected, and quickness and usability are achieved. The invention further discloses a device for collecting the logs based on the cloud computing platform.

Description

Technical field [0001] The invention relates to the field of computer technology, in particular to a method and device for collecting logs based on a cloud computing platform. Background technique [0002] The cloud computing platform is composed of a huge number of servers, and these servers may be deployed in different regions or even different countries. However, due to operational needs, it is necessary to collect the operation logs of the servers in the platform and the log information of the software services in the platform. It is used for timely normal errors and troubleshooting, and can be used for later data mining in a deeper level. A large number of servers and a large number of services have a large amount of log collection tasks one by one, low work efficiency, and not easy to use. Summary of the invention [0003] The technical problem to be solved by the present invention is how to efficiently and quickly process a large number of servers and a large number of ser...

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): H04L29/08
Inventor 井淑明
Owner OPZOON TECH
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