Cloud platform log collecting and forwarding method, system and device, and storage medium

A forwarding method and cloud platform technology, applied in the field of cloud platform, can solve problems such as not pointing out, unable to achieve dynamic configuration, and log collection system cannot find logs well, so as to improve adaptability and flexibility, and meet diversification The effect of demand, wide range of applications

Active Publication Date: 2017-12-01
携程旅游信息技术(上海)有限公司
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The former method does not provide a plan for log collection and management, which is left to the system user to implement; the latter method will limit the directory of application log output, and the peripheral log collection system cannot well discover new needs to collect log
[0005] In particular, in an existing container log management method (CN 106383852 A), there must be pre-agreed specifications for the log configuration of the application, including information such as the output path and format of the log, but it does not point out how to make the peripheral log The collection system discovers new logs that need to be collected in time
The log configuration information based on these solutions is statically configured or agreed, and cannot be dynamically configured according to the application.
[0006] Moreover, the existing solutions cannot meet the needs of users to make personalized dynamic configurations for application log routing and forwarding.
For example, the owner of the application may dynamically adjust the forwarding destination of the log and forward it to the monitoring and alarm system or the big data analysis platform, but the existing log forwarding method cannot meet the different needs of users

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
  • Cloud platform log collecting and forwarding method, system and device, and storage medium
  • Cloud platform log collecting and forwarding method, system and device, and storage medium
  • Cloud platform log collecting and forwarding method, system and device, and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0084] Example embodiments will now be described more fully with reference to the accompanying drawings. Example embodiments may, however, be embodied in many forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this disclosure will be thorough and complete and will fully convey the concept of example embodiments to those skilled in the art. The described features, structures, or characteristics may be combined in any suitable manner in one or more embodiments.

[0085] Furthermore, the drawings are merely schematic illustrations of the present disclosure and are not necessarily drawn to scale. The same reference numerals in the drawings denote the same or similar parts, and thus repeated descriptions thereof will be omitted. Some of the block diagrams shown in the drawings are functional entities and do not necessarily correspond to physically or logically separate entities. These functional entities ...

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 cloud platform log collecting and forwarding method, system and device, and a storage medium. The method comprises the following steps: obtaining application identifiers corresponding to running events; searching log configuration information the application identifiers corresponding to the events, and collecting logs corresponding to events according to the log configuration information; obtaining the application identifier corresponding to a to-be-forwarded log; and searching a corresponding routing forwarding rule according to the application identifier corresponding to the log, and forwarding the corresponding log. According to the cloud platform log collecting and forwarding method, the current log configuration information and the routing forwarding rule are dynamically obtained, after the application is dynamically scheduled or expanded or shrunk by a container cloud platform, and a log collection module on a host requires no pre-configuration and can quickly and dynamically sense the application running on the host; and the log configuration information of the application is dynamically obtained, a log collection behavior is executed, meanwhile the routing forwarding rule of the log is dynamically obtained correspondingly, and the log of the application is dynamically routed and forwarded individually.

Description

technical field [0001] The present invention relates to the technical field of cloud platforms, in particular to a cloud platform log collection and forwarding method, system, device and storage medium for dynamically acquiring current log configuration information and routing and forwarding rules. Background technique [0002] Currently, the container technology represented by Docker has brought technological innovation to the entire basic system, changing the process and method of development, testing, delivery and operation. Multiple containers can run on one physical machine or virtual machine, and resources such as file systems and networks between containers are isolated from each other. The physical machine and virtual machine are also host machines. This technology enables applications to be scheduled, run, and scaled in units of containers. The scheduling and scaling can even be performed dynamically. Compared with the traditional methods based on physical machines ...

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/24H04L12/751H04L45/02
CPCH04L41/0246H04L41/069H04L45/02
Inventor 乐鸿辉石山石
Owner 携程旅游信息技术(上海)有限公司
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