Method and apparatus for automatically collecting and analyzing switch logs

An automatic collection and switching technology, applied in the computer field, can solve the problems of interference troubleshooting efficiency, offline data discarding, and large scale of switch log analysis, and achieve the effect of improving operation and maintenance efficiency.

Active Publication Date: 2016-10-26
BEIJING BAIDU NETCOM SCI & TECH CO LTD
View PDF6 Cites 20 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The problems faced by the switch log analysis are the large scale, scattered physical locations, and complicated device models. When troubleshooting, engineers need to log in to the devices one by one to view the logs, and the junk logs on the devices will seriously interfere with the troubleshooting efficiency.
The existing monitoring system matches the logs in real time, and the offline data will be discarded, and there is likely to be valuable information in this part of the offline data

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 apparatus for automatically collecting and analyzing switch logs
  • Method and apparatus for automatically collecting and analyzing switch logs
  • Method and apparatus for automatically collecting and analyzing switch logs

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0025] The application 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 related inventions, rather than to limit the invention. It should also be noted that, for the convenience of description, only the parts related to the related invention are shown in the drawings.

[0026] It should be noted that, in the case of no conflict, the embodiments in the present application and the features in the embodiments can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and embodiments.

[0027] figure 1 An exemplary system architecture 100 of an embodiment of the method for automatically collecting and analyzing switch logs or the device for automatically collecting and analyzing switch logs of the present application is shown.

[0028] Such as figure 1 As...

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 present invention discloses a method and apparatus for automatically collecting and analyzing switch logs. One specific embodiment of the method comprises collecting logs generated by all switches in an internet data center; filtering the logs according to a preset rule, and retaining the logs according with the preset rule; performing structured processing on the retained logs to form structured data, wherein the structured data comprises switch IDs, timestamps, message types and detail messages; transmitting the structured data to a storage device; and analyzing the structured data in the storage device. According to the embodiment, automatic collection, transmission, storage, structuration, query and analysis of the switch logs are achieved.

Description

technical field [0001] The present application relates to the field of computer technology, specifically to the field of Internet technology, and in particular to a method and device for automatically collecting and analyzing switch logs. Background technique [0002] With the explosive growth of Internet data and the increase of business, many Internet companies are investing more and more in self-built networks, and more and more network devices are involved in IDC (Internet Data Center, Internet Data Center). is a switch device. [0003] The switch log is important data generated by the switch device during its life cycle. The status of the switch can be obtained through the switch log, including port jitter, protocol jitter, board failure, power failure, etc., while traditional equipment monitoring systems are based on switch Logs, match logs through specific rules, so as to find fault points and give alarms. The problems faced by switch log analysis are the large scal...

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): G06F17/30
CPCG06F16/22
Inventor 董辉宋磊田天笑
Owner BEIJING BAIDU NETCOM SCI & TECH CO LTD
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