WO2015139565A1 - Heterogeneous logging system management configuration - Google Patents
Heterogeneous logging system management configuration Download PDFInfo
- Publication number
- WO2015139565A1 WO2015139565A1 PCT/CN2015/073847 CN2015073847W WO2015139565A1 WO 2015139565 A1 WO2015139565 A1 WO 2015139565A1 CN 2015073847 W CN2015073847 W CN 2015073847W WO 2015139565 A1 WO2015139565 A1 WO 2015139565A1
- Authority
- WO
- WIPO (PCT)
- Prior art keywords
- log
- configuration
- logging system
- management
- data management
- Prior art date
- Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
- Ceased
Links
Images
Classifications
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/08—Configuration management of networks or network elements
- H04L41/0803—Configuration setting
- H04L41/0806—Configuration setting for initial configuration or provisioning, e.g. plug-and-play
-
- H—ELECTRICITY
- H04—ELECTRIC COMMUNICATION TECHNIQUE
- H04L—TRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
- H04L41/00—Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
- H04L41/02—Standardisation; Integration
- H04L41/022—Multivendor or multi-standard integration
Definitions
- the logging system is an important part of a network management application.
- the logging system can record user behaviors in a network, related information of software, system errors, and network events, etc. and store them according to certain rules.
- Network administrators can monitor the operating status of the system, check why errors occurred, track triggers of operations, and if the network is under attack they may trace the attacker by analyzing the log data.
- network administrators may optimize network system performance, improve user behaviors in the network system, and audit network system security by collecting and analyzing log data.
- FIG. 1 is an example of a hardware architecture diagram of an equipment for a heterogeneous logging system management configuration logic of the present disclosure
- FIG. 2 is an example of a block diagram of a heterogeneous logging system management configuration logic of the present disclosure
- FIG. 3 is an example of a system architecture diagram of a heterogeneous logging system management configuration logic of the present disclosure
- FIG. 4 is an example of a logic architecture diagram of a configuration management module in a heterogeneous logging system management configuration logic of the present disclosure.
- FIG. 5 is an example flowchart illustrating the procedures of a method for heterogeneous logging system management configuration of the present disclosure.
- a typical network management application has a heterogeneous logging system. That is the network application has a plurality of different logging systems, and each logging system may correspond to a particular application function.
- the plurality of logging systems may have a variety of types, sources, and implementations.
- the logs can be divided into user operation logs, application system logs, and security logs; if the logs are classified according to the log source, the logs can be divided into network management application system record logs, network equipment report logs, and third-party collaboration application record logs; and if the logs are classified according to implementations of logging systems, the logs can be divided into Log4j logs (for Java Applications) , LogBack logs, JDKLog logs, XLog logs (for C++Applications) , persisted in relational database user operation logs, and Syslog logs (for network equipment) .
- Log4j logs for Java Applications
- JDKLog logs for C++Applications
- XLog logs for C++Applications
- Syslog logs for network equipment
- the logs with different types, sources, and implementations usually have their own unique design and configuration specifications.
- the different logs usually record, store, and manage data in accordance with their inherent implementations.
- the log recording types may include various attributes of log data records, such as record ID, content format, time stamp mode, encoding format, and etc.
- the log storage types may include file, relational database, non-relational database, equipment MIB, and etc.
- the log division types may include file, database table, divisions of MIB node, such as divisions in accordance with date and time, capacity, and corresponding division strategies.
- the log backup strategies may include transferring history logs to local files and compressing to be stored, backup time period, and the name rule of the compressed file, and etc.
- the log cleaning strategies may include log saving time window, remove of long history logs, cleanup rules, and etc.
- the present disclosure proposes a heterogeneous logging system management configuration logic.
- the heterogeneous logging system management configuration logic 2 may be in the form of machine readable instructions stored in a storage 12 of a server.
- the hardware architecture of the server may include a processor (such as a CPU) 11 and the storage 12.
- the hardware architecture of the server may also include a network interface 13 for transmitting and receiving data, wherein the elements can be connected to each other through internal bus 13.
- the heterogeneous logging system management configuration logic of the present disclosure can be further divided into an inter-operating module 21, an adapting module 23, and a configuration management module 22.
- the adapting module 23 may communicate with a heterogeneous logging system 3.
- the configuration management module 22 is coupled with and communicates with the inter-operating module 21 and the adapting module 23.
- the inter-operating module 21 may distribute a log configuration management command and a log data management command to the configuration management module 22.
- the adapting module 23 may include a plurality of log adapters, wherein each log adapter is adapted to a particular logging system.
- a Log4j adaptor is adapted to a Log4j logging system
- an XLog adaptor is adapted to an XLog logging system
- an operation log adaptor is adapted to a user operation logging system.
- a log adaptor may use the same log recording types, log storage types, log division types, log back up strategies and log cleaning strategies as the logging system which it is adapted for.
- a logging system may be assigned a log adapter which is adapted to it.
- a Log4j adaptor may be assigned to a Log4j logging system
- an Xlog adaptor may be assigned to an XLog logging system, and etc.
- the configuration management module 23 may use the assigned log adapter to complete the log management configuration of the logging system adapted to the log adapter based on the log configuration management command; or it may use the assigned log adapter to complete the log data management configuration of the logging system based on the log data management command.
- the inter-operating module 21 is essentially a concise abstraction and combination for various log management functions encapsulated by the configuration management module 22, so as to provide the user with the option of a series of functional entries of log configuration management and log data management, or provide the third-party tool with a series of functional interfaces.
- the inter-operating module 21 may further include a log configuration management interface 211 and a log data management interface 212.
- the log configuration management interface 211 may be used for providing the user with the option of log management configuration loading/modifying entries of the logging system, for example, log level setting entries, log output mode configuration entries, and log storage management entries with the dedicated application function.
- the log data management interface 212 may be used for providing the user with the option of log data management entries of the logging system, for example, log viewer entries, log data collection entries, log cleaning entries, log backup entries, and log file download entries with the dedicated application function. Therefore, the inter-operating module 21 is able to allow the users, such as Administrators, to distribute the log configuration management command of the logging system to the configuration management module 22 through the log configuration management interface 211 or to distribute the log data management command of the logging system to the configuration management module 22 through the log data management interface 212.
- the inter-operating module 21 may further include a configuration management interface and a data management interface, wherein the configuration management interface is used for providing the third-party application with the log configuration management interface of the logging system, and the data management interface is used for providing the third-party application with the log data management interface of the logging system. Therefore, the inter-operating module 21 can be used by the third-party application, such that the third-party application may distribute the log configuration management command of the logging system to the configuration management module 22 through the log configuration management interface 211, or the third-party application may distribute the log data management command of the logging system to the configuration management module 22 through the log data management interface 212.
- the functions of the configuration management module 22 are implemented based on original metadata configuration entries that each logging system registers to the network management system.
- the metadata configuration entries define and describe the logging systems used in different application functions in the network management system.
- typical metadata configuration entries may include any of the contents shown in the following table:
- the adapting module 23 may include a number of log adapters 231, wherein each of the log adapters 231 is associated with a logging system.
- the adapting module 231 upwardly provides a unified interface to the configuration management function and data management function of the configuration management module 22, and downwardly uses the corresponding logging system infrastructure to provide supports of the appointed configuration management function and the data management function of the log adapter interface.
- the heterogeneous logging system may include a Log4j logging system, an XLog logging system, and a user operation logging system, and thus the adapting module 23 will correspondingly include a Log4j log adapter, an XLog log adapter, and a user operation log adapter.
- the adapting module 23 may further include a LOGBack log adapter, a JDKLog log adapter, a Syslog log adapter, and/or a customized log adapter, which can facilitate the third-party implementers to expand the scope of the heterogeneous logging system management configuration logic in order to meet their application requirements.
- the configuration management module 22 may further include a metadata configuration management unit 221, a pattern matching unit 222, a log configuration management unit 223, and a log data management unit 224.
- the metadata configuration management unit 221 is mainly used for performing loading, receipt and parsing of the metadata configuration entries that each logging system registered in the network management system.
- the pattern matching unit 222 is mainly used for maintaining the logging system and/or matching data based on the metadata configuration entries.
- the pattern matching unit 222 may be used to maintain the logging system based on the log file or database table name pattern and file compression pattern defined in the metadata configuration entries. Additionally, the pattern matching unit 222 may also be used to match the log file or the database table of a configuration entry with a dedicated application function in a predetermined time point or a predetermined time period.
- the log configuration management unit 223 is mainly used for assigning a log adapter to complete the log management configuration of the logging system adapted to the log adapter based on the log configuration management command.
- the log configuration management unit 223 may be used to process the configuration management such as log level and log output mode with the dedicated application function, wherein the configuration management is executed by the assigned log adapter.
- the log data management unit 224 is mainly used for assigning a log adapter to complete the data management configuration of the logging system adapted to the log adapter based on the log data management command.
- the log data management unit 224 may be used to perform the log data management configuration entries of log acquisition, log cleaning, log backup, and log data collection with a dedicated application function based on the log data management command, wherein the log data management configuration entries is executed by the assigned log adapter.
- the log data management unit 224 may also be used to perform data fineness exhibition and collection of dedicated configuration entries or dedicated application function according to the keywords in the log file for corresponding log contents of metadata configuration entries when a number of logs are stored in the same log file.
- modules or units above mentioned in the examples of the present disclosure can be integrated in one component, or can be deployed separately; that is to say, they can be combined into a single module or a single unit, or they can be split into a plurality of sub-units.
- the modules or units mentioned in the examples of the present disclosure can be implemented by software (such as, machine readable instructions stored in a non-transitory computer readable storage medium to be executed by a processor) or hardware (such as, a processor of Application Specific Integrated Circuit, ASIC) , or a combination thereof, which should not be a limitation of the present disclosure.
- the present disclosure also provides a method for heterogeneous logging system management configuration.
- the heterogeneous logging system management configuration logic implemented in the form of a computer software product is taken for describing the method of the present disclosure.
- the heterogeneous logging system management configuration logic is implemented by a plurality of machine readable instructions stored in a storage, and the method is implemented by using a CPU to read the software (i.e., the machine readable instructions) stored in the storage.
- the method includes the following steps.
- the log configuration management command or the log data management command distributed by Administrator is received.
- a target logging system is determined, and a log adapter adapted to the target logging system is assigned.
- the assigned log adapter is used to complete log management configuration of the logging system based on the log configuration management command; or the assigned log adapter is used to complete log data management configuration of the logging system based on the log data management command.
- the method may further include the following steps implemented by a CPU to read the machine readable instructions stored in the storage to:
- the method may further include the following steps implemented by a CPU to read the machine readable instructions stored in the storage to:
- log configuration management command may include: log level setting, log output mode configuration, and/or log storage management with the dedicated application function; and the above mentioned log data management command may include: log viewer, log data collection, log cleaning, log backup, and/or log file download with the dedicated application function.
- the method may further include the following steps implemented by a CPU to read the machine readable instructions stored in the storage to:
- log data management configuration of log acquisition, log cleaning, log backup, and log data collection with a dedicated application function based on the log data management command; wherein the log data management configuration is executed by the assigned log adapter.
- the method may further include the following steps implemented by a CPU to read the machine readable instructions stored in the storage to:
- the heterogeneous logging system management configuration device of the present disclosure at least includes the following advantages.
- Concise inter-operating module network administrators can perform configuration modification and data management upon the heterogeneous logging system by using configuration modification interface and data management interface, and third-party tools can perform configuration modification and data management upon the heterogeneous logging system by using the open interfaces, such that no need to focus on the implementation details such as log recording type, log configuration file location, log modification, log storage, and log segment, which can minimize complexity of use.
- Unified management of Log Configuration consistent configuration modification and data management can be performed on the heterogeneous logging system by applying the metadata configuration entries of various log adapters and various logging systems, which can shield configuration differences of multi-functions and implementation differences of the heterogeneous logging system.
- Log collection download of fineness when multiple logs are stored in the same log file, data fineness exhibition and collection of dedicated configuration entries or dedicated application function can be performed.
- third-party implementers can build their own configuration management policies by implementing and extending the metadata management unit, the pattern matching unit, the configuration modification unit, and the data management unit interface of the configuration management module, and can extend customized log adapters by implementing the log adapter interface, in order to meet their own application requirements.
- the figures are only illustrations of an example, wherein the units or procedure shown in the figures are not necessarily essential for implementing the disclosure.
- the units in the device in the example can be arranged in the device in the examples as described, or can be alternatively located in one or more devices different from that in the examples.
- the units in the examples described can be combined into one module or further divided into a plurality of sub-units.
Landscapes
- Engineering & Computer Science (AREA)
- Computer Networks & Wireless Communication (AREA)
- Signal Processing (AREA)
- Debugging And Monitoring (AREA)
Abstract
A heterogeneous logging system is configured by receives a log configuration management command or a log data management command and determines a target logging system. The target logging system is assigned a log adapter adapted to the target logging system. The assigned log adapter is used to complete log management configuration of the target logging system based on the log configuration management command; or the assigned log adapter is used to complete log data management configuration of the target logging system based on the log data management command.
Description
The logging system is an important part of a network management application. The logging system can record user behaviors in a network, related information of software, system errors, and network events, etc. and store them according to certain rules. Network administrators can monitor the operating status of the system, check why errors occurred, track triggers of operations, and if the network is under attack they may trace the attacker by analyzing the log data. In addition, network administrators may optimize network system performance, improve user behaviors in the network system, and audit network system security by collecting and analyzing log data.
Brief Description of Drawings
Features of the present disclosure are illustrated by way of an example and not limited in the following figure (s) , in which like numerals indicate like elements, in which:
FIG. 1 is an example of a hardware architecture diagram of an equipment for a heterogeneous logging system management configuration logic of the present disclosure;
FIG. 2 is an example of a block diagram of a heterogeneous logging system management configuration logic of the present disclosure;
FIG. 3 is an example of a system architecture diagram of a heterogeneous logging system management configuration logic of the
present disclosure;
FIG. 4 is an example of a logic architecture diagram of a configuration management module in a heterogeneous logging system management configuration logic of the present disclosure; and
FIG. 5 is an example flowchart illustrating the procedures of a method for heterogeneous logging system management configuration of the present disclosure.
For simplicity and illustrative purposes, a disclosure is described by referring mainly to an example thereof. In the following description, numerous specific details are set forth in order to provide a thorough understanding of the disclosure. It will be readily apparent however, that the disclosure may be practiced without limitation to these specific details. In other instances, some methods and structures have not been described in detail so as not to unnecessarily obscure the disclosure. As used herein, the terms “a” and “an” are intended to denote at least one of a particular element, the term “includes” means includes but not limited to, the term “including” means including but not limited to, and the term “based on” means based at least in part on.
A typical network management application has a heterogeneous logging system. That is the network application has a plurality of different logging systems, and each logging system may correspond to a particular application function. The plurality of logging systems may have a variety of types, sources, and implementations. For
example: if the logs are classified according to the log type, the logs can be divided into user operation logs, application system logs, and security logs; if the logs are classified according to the log source, the logs can be divided into network management application system record logs, network equipment report logs, and third-party collaboration application record logs; and if the logs are classified according to implementations of logging systems, the logs can be divided into Log4j logs (for Java Applications) , LogBack logs, JDKLog logs, XLog logs (for C++Applications) , persisted in relational database user operation logs, and Syslog logs (for network equipment) .
The logs with different types, sources, and implementations usually have their own unique design and configuration specifications. The different logs usually record, store, and manage data in accordance with their inherent implementations. For example, the log recording types may include various attributes of log data records, such as record ID, content format, time stamp mode, encoding format, and etc. The log storage types may include file, relational database, non-relational database, equipment MIB, and etc. The log division types may include file, database table, divisions of MIB node, such as divisions in accordance with date and time, capacity, and corresponding division strategies. The log backup strategies may include transferring history logs to local files and compressing to be stored, backup time period, and the name rule of the compressed file, and etc. The log cleaning strategies may include log saving time window, remove of long history logs, cleanup rules, and etc.
For the above reasons, it is difficult for user of the network management system to know the various record, storage and management policies and other implementation details of different logging systems. This is particularly the case because the implementation details of logging systems, their application functions and their recording types are usually not made public. Hence, it is difficult for network administrators or maintenance personnel of the network management system to achieve unified management and configuration of a heterogeneous logging system. It is also difficult to timely and effectively configure the error-related logging system or collect the error-related log records when errors occur, which in turn makes it difficult to promptly and effectively solve errors in the network.
In light of the above, the present disclosure proposes a heterogeneous logging system management configuration logic. For example, as shown in FIG. 1, the heterogeneous logging system management configuration logic 2 may be in the form of machine readable instructions stored in a storage 12 of a server. The hardware architecture of the server may include a processor (such as a CPU) 11 and the storage 12. The hardware architecture of the server may also include a network interface 13 for transmitting and receiving data, wherein the elements can be connected to each other through internal bus 13.
As shown in FIG. 2, in an example, the heterogeneous logging system management configuration logic of the present disclosure can be further divided into an inter-operating module 21, an adapting module 23, and a configuration management module 22. The adapting
module 23 may communicate with a heterogeneous logging system 3. The configuration management module 22 is coupled with and communicates with the inter-operating module 21 and the adapting module 23. The inter-operating module 21 may distribute a log configuration management command and a log data management command to the configuration management module 22. The adapting module 23 may include a plurality of log adapters, wherein each log adapter is adapted to a particular logging system.
By “adapted to a logging system” it is meant that the log adapter is specifically designed for, or configured to interact with, a logging system of that type. For instance, a Log4j adaptor is adapted to a Log4j logging system, an XLog adaptor is adapted to an XLog logging system and an operation log adaptor is adapted to a user operation logging system. A log adaptor may use the same log recording types, log storage types, log division types, log back up strategies and log cleaning strategies as the logging system which it is adapted for.
A logging system may be assigned a log adapter which is adapted to it. E.g. a Log4j adaptor may be assigned to a Log4j logging system, an Xlog adaptor may be assigned to an XLog logging system, and etc.
The configuration management module 23 may use the assigned log adapter to complete the log management configuration of the logging system adapted to the log adapter based on the log configuration management command; or it may use the assigned log adapter to complete the log data management configuration of the logging system
based on the log data management command.
In this example, the inter-operating module 21 is essentially a concise abstraction and combination for various log management functions encapsulated by the configuration management module 22, so as to provide the user with the option of a series of functional entries of log configuration management and log data management, or provide the third-party tool with a series of functional interfaces. As shown in FIG. 3, the inter-operating module 21 may further include a log configuration management interface 211 and a log data management interface 212. Herein the log configuration management interface 211 may be used for providing the user with the option of log management configuration loading/modifying entries of the logging system, for example, log level setting entries, log output mode configuration entries, and log storage management entries with the dedicated application function. The log data management interface 212 may be used for providing the user with the option of log data management entries of the logging system, for example, log viewer entries, log data collection entries, log cleaning entries, log backup entries, and log file download entries with the dedicated application function. Therefore, the inter-operating module 21 is able to allow the users, such as Administrators, to distribute the log configuration management command of the logging system to the configuration management module 22 through the log configuration management interface 211 or to distribute the log data management command of the logging system to the configuration management module 22 through the log data management interface 212.
In an example, the inter-operating module 21 may further include a configuration management interface and a data management interface, wherein the configuration management interface is used for providing the third-party application with the log configuration management interface of the logging system, and the data management interface is used for providing the third-party application with the log data management interface of the logging system. Therefore, the inter-operating module 21 can be used by the third-party application, such that the third-party application may distribute the log configuration management command of the logging system to the configuration management module 22 through the log configuration management interface 211, or the third-party application may distribute the log data management command of the logging system to the configuration management module 22 through the log data management interface 212.
The functions of the configuration management module 22 are implemented based on original metadata configuration entries that each logging system registers to the network management system. The metadata configuration entries define and describe the logging systems used in different application functions in the network management system. In an example, typical metadata configuration entries may include any of the contents shown in the following table:
The adapting module 23 may include a number of log adapters 231, wherein each of the log adapters 231 is associated with a logging system. The adapting module 231 upwardly provides a unified interface to the configuration management function and data management function of the configuration management module 22, and downwardly uses the corresponding logging system infrastructure to provide supports of the appointed configuration management function and the data management function of the log adapter interface. For example, as shown in FIG. 3, the heterogeneous logging system may include a Log4j logging system, an XLog logging system, and a user operation logging system, and thus the adapting module 23 will correspondingly include a Log4j log adapter, an XLog log adapter, and a user operation log adapter. In other examples, the adapting module 23 may further include a LOGBack log adapter, a JDKLog log adapter, a Syslog log adapter, and/or a customized log adapter, which can facilitate the third-party implementers to expand the scope of the heterogeneous logging system management configuration logic in order to meet their application requirements.
Turning back to the configuration management module 22, an example is shown in more detail in FIG. 4. The configuration management module 22 may further include a metadata configuration management unit 221, a pattern matching unit 222, a log configuration management unit 223, and a log data management unit 224.
Herein, the metadata configuration management unit 221 is mainly used for performing loading, receipt and parsing of the metadata configuration entries that each logging system registered in the network management system.
The pattern matching unit 222 is mainly used for maintaining the logging system and/or matching data based on the metadata configuration entries. For example, the pattern matching unit 222 may be used to maintain the logging system based on the log file or database table name pattern and file compression pattern defined in the metadata configuration entries. Additionally, the pattern matching unit 222 may also be used to match the log file or the database table of a configuration entry with a dedicated application function in a predetermined time point or a predetermined time period.
The log configuration management unit 223 is mainly used for assigning a log adapter to complete the log management configuration of the logging system adapted to the log adapter based on the log configuration management command. For example, the log configuration management unit 223 may be used to process the configuration management such as log level and log output mode with the dedicated application function, wherein the configuration management is executed
by the assigned log adapter.
The log data management unit 224 is mainly used for assigning a log adapter to complete the data management configuration of the logging system adapted to the log adapter based on the log data management command. For example, the log data management unit 224 may be used to perform the log data management configuration entries of log acquisition, log cleaning, log backup, and log data collection with a dedicated application function based on the log data management command, wherein the log data management configuration entries is executed by the assigned log adapter. Additionally, since the log data management unit 224 is implemented based on the metadata configuration entries of each logging system, the log data management unit 224 may also be used to perform data fineness exhibition and collection of dedicated configuration entries or dedicated application function according to the keywords in the log file for corresponding log contents of metadata configuration entries when a number of logs are stored in the same log file.
Please note that, the modules or units above mentioned in the examples of the present disclosure can be integrated in one component, or can be deployed separately; that is to say, they can be combined into a single module or a single unit, or they can be split into a plurality of sub-units. In addition, the modules or units mentioned in the examples of the present disclosure can be implemented by software (such as, machine readable instructions stored in a non-transitory computer readable storage medium to be executed by a processor) or hardware (such as, a processor
of Application Specific Integrated Circuit, ASIC) , or a combination thereof, which should not be a limitation of the present disclosure.
In accordance with the above mentioned heterogeneous logging system management configuration logic, the present disclosure also provides a method for heterogeneous logging system management configuration. In the following, an example that the heterogeneous logging system management configuration logic implemented in the form of a computer software product is taken for describing the method of the present disclosure. In this example, the heterogeneous logging system management configuration logic is implemented by a plurality of machine readable instructions stored in a storage, and the method is implemented by using a CPU to read the software (i.e., the machine readable instructions) stored in the storage. As shown in FIG. 5, in this example, the method includes the following steps.
At block 501, the log configuration management command or the log data management command distributed by Administrator is received.
At block 502, a target logging system is determined, and a log adapter adapted to the target logging system is assigned.
At block 503, the assigned log adapter is used to complete log management configuration of the logging system based on the log configuration management command; or the assigned log adapter is used to complete log data management configuration of the logging system based on the log data management command.
Furthermore, the method may further include the following steps implemented by a CPU to read the machine readable instructions stored in the storage to:
complete loading, receipt, and parsing of metadata configuration entries that each logging system registered in a network management system; and
maintain the logging system or match data based on the metadata configuration entries that each logging system registered in the network management system.
Furthermore, the method may further include the following steps implemented by a CPU to read the machine readable instructions stored in the storage to:
maintain the logging system based on log file or database table name pattern, and file compression pattern defined in the metadata configuration entry; or
match the log file or database table with a dedicated application function in a predetermined time point or a predetermined time period.
Herein the above mentioned log configuration management command may include: log level setting, log output mode configuration, and/or log storage management with the dedicated application function; and the above mentioned log data management command may include: log viewer, log data collection, log cleaning, log backup, and/or log file download with the dedicated application function.
Furthermore, the method may further include the following steps implemented by a CPU to read the machine readable instructions stored in the storage to:
load and/or modify the log management configuration for the log level or the log output mode with the dedicated application function based on the log configuration management command; wherein loading and/or modifying the log management configuration are executed by the assigned log adapter.
perform the log data management configuration of log acquisition, log cleaning, log backup, and log data collection with a dedicated application function based on the log data management command; wherein the log data management configuration is executed by the assigned log adapter.
Furthermore, the method may further include the following steps implemented by a CPU to read the machine readable instructions stored in the storage to:
provide a log configuration management interface of the logging system to third-party applications; and
provide a log data management interface of the logging system to the third-party applications.
As can be known from the above mentioned examples of the present disclosure, the heterogeneous logging system management configuration device of the present disclosure at least includes the following advantages.
Concise inter-operating module: network administrators can perform configuration modification and data management upon the heterogeneous logging system by using configuration modification interface and data management interface, and third-party tools can perform configuration modification and data management upon the heterogeneous logging system by using the open interfaces, such that no need to focus on the implementation details such as log recording type, log configuration file location, log modification, log storage, and log segment, which can minimize complexity of use.
Unified management of Log Configuration: consistent configuration modification and data management can be performed on the heterogeneous logging system by applying the metadata configuration entries of various log adapters and various logging systems, which can shield configuration differences of multi-functions and implementation differences of the heterogeneous logging system.
Log collection download of fineness: when multiple logs are stored in the same log file, data fineness exhibition and collection of dedicated configuration entries or dedicated application function can be performed.
Device extension: third-party implementers can build their own configuration management policies by implementing and extending the metadata management unit, the pattern matching unit, the configuration modification unit, and the data management unit interface of the configuration management module, and can extend customized log adapters by implementing the log adapter interface, in order to meet their
own application requirements.
The figures are only illustrations of an example, wherein the units or procedure shown in the figures are not necessarily essential for implementing the disclosure. The units in the device in the example can be arranged in the device in the examples as described, or can be alternatively located in one or more devices different from that in the examples. The units in the examples described can be combined into one module or further divided into a plurality of sub-units.
Although the flowcharts described show a specific order of execution, the order of execution may differ from that which is depicted. For example, the order of execution of two or more blocks may be changed relative to the order shown. Also, two or more blocks shown in succession may be executed concurrently or with partial concurrence. All such variations are within the scope of the disclosure.
Throughout the disclosure, the word "comprise" , or variations such as "comprises" or "comprising" , will be understood to imply the inclusion of a stated element, integer, block, or group of elements, integers, block, but not the exclusion of any other element, integer or block, or group of elements, integers or blocks.
Numerous variations and/or modifications may be made to the above-described embodiments, without departing from the broad general scope of the disclosure. The embodiments are, therefore, to be considered in all respects as illustrative and not restrictive.
Claims (14)
- A non-transitory computer readable storage medium on which is stored machine readable instructions that when executed by a processor cause the processor to:receive a log configuration management command or a log data management command directed to one of a plurality of logging systems in a heterogeneous logging system;determine a target logging system of the log configuration management command or log data management command, and assign a log adaptor adapted to the target logging system; anduse the assigned log adapter to complete a log management configuration of the target logging system based on the log configuration management command; or use the assigned log adapter to complete a log data management configuration of the target logging system based on the log data management command.
- The non-transitory computer readable storage medium according to claim 1, wherein the machine readable instructions are further to cause the processor to:perform loading, receipt, and parsing of metadata configuration entries for each logging system registered in a network management system; andmaintain the logging system or match predetermined target data based on the metadata configuration entries that each logging system registered in the network management system.
- The non-transitory computer readable storage medium according to claim 2, wherein the machine readable instructions are further to cause the processor to:maintain the logging system based on a log file or a database table name pattern, and a file compression pattern defined in the metadata configuration entries; ormatch the log file or database table with a dedicated application function in a predetermined time point or a predetermined time period.
- The non-transitory computer readable storage medium according to claim 2, wherein the machine readable instructions are further to cause the processor to:load and/or modify log management configuration entries for a log level or a log output mode with a dedicated application function based on the log configuration management command, wherein loading and/or modifying the log management configuration entries are executed by the assigned log adapter.
- The non-transitory computer readable storage medium according to claim 2, wherein the machine readable instructions are further to cause the processor to:load and/or modify log data management configuration entries of log acquisition, log cleaning, log backup, and log data collection with a dedicated application function based on the log data management command, wherein the log data management configuration entries are executed by the assigned log adapter.
- The non-transitory computer readable storage medium according to claim 1, wherein the machine readable instructions are further to cause the processor to:provide a log configuration management entry interface of the logging system to a user; andprovide a log data management entry interface of the logging system to the user.
- The non-transitory computer readable storage medium according to claim 6, wherein,the log management configuration includes log level setting, log output mode configuration, and/or log storage management with the dedicated application function; andthe log data management configuration includes log viewer, log data collection, log cleaning, log backup, and/or log file download with the dedicated application function.
- The non-transitory computer readable storage medium according to claim 7, wherein the machine readable instructions are further to cause the processor to:provide a log configuration management interface of the logging system to third-party tools; andprovide a log data management interface of the logging system to the third-party tools.
- A method for heterogeneous logging system management configuration, comprising:receiving a log configuration management command or a log data management command distributed by an administrator;determining a target logging system, and assigning a log adapter adapted to the target logging system; andusing the assigned log adapter to complete log management configuration of the target logging system based on the log configuration management command; or using the assigned log adapter to complete log data management configuration of the target logging system based on the log data management command.
- A method according to claim 9, further comprising:completing loading, receipt, and parsing of metadata configuration entries that each logging system registered in a network management system; andmaintaining the logging system or matching predetermined target data based on the metadata configuration entries that each logging system registered in the network management system.
- A method according to claim 10, further comprising:maintaining the logging system based on a log file or a database table name pattern and a file compression pattern defined in the metadata configuration entry; ormatching the log file or database table with a dedicated application function in a predetermined time point or a predetermined time period.
- A method according to claim 11, wherein,the log configuration management command comprises:log level setting, log output mode configuration, and/or log storage management with the dedicated application function; andthe log data management command comprises:log viewer, log data collection, log cleaning, log backup, and/or log file download with the dedicated application function.
- A method according to claim 12, further comprising:loading and/or modifying the log management configuration for the log level or the log output mode with the dedicated application function based on the log configuration management command, wherein loading and/or modifying the log management configuration are executed by the assigned log adapter; andperforming the log data management configuration of log acquisition, log cleaning, log backup, and log data collection with the dedicated application function based on the log data management command, wherein the log data management configuration is executed by the assigned log adapter.
- A method according to claim 9, further comprising:providing a log configuration management interface of the logging system to third-party applications; andproviding a log data management interface of the logging system to the third-party applications.
Applications Claiming Priority (2)
| Application Number | Priority Date | Filing Date | Title |
|---|---|---|---|
| CN201410098958.9 | 2014-03-17 | ||
| CN201410098958.9A CN104935444B (en) | 2014-03-17 | 2014-03-17 | Isomery log system management configuration device and method |
Publications (1)
| Publication Number | Publication Date |
|---|---|
| WO2015139565A1 true WO2015139565A1 (en) | 2015-09-24 |
Family
ID=54122422
Family Applications (1)
| Application Number | Title | Priority Date | Filing Date |
|---|---|---|---|
| PCT/CN2015/073847 Ceased WO2015139565A1 (en) | 2014-03-17 | 2015-03-09 | Heterogeneous logging system management configuration |
Country Status (2)
| Country | Link |
|---|---|
| CN (1) | CN104935444B (en) |
| WO (1) | WO2015139565A1 (en) |
Families Citing this family (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN107678908B (en) * | 2017-06-23 | 2020-07-31 | 平安科技(深圳)有限公司 | Log recording method and device, computer equipment and storage medium |
| CN107622120A (en) * | 2017-09-22 | 2018-01-23 | 新华三技术有限公司 | System journal method for cleaning and device |
| CN108288997A (en) * | 2017-12-19 | 2018-07-17 | 国网内蒙古东部电力有限公司 | A kind of transmission network luminous power automated collection systems |
| CN108804279A (en) * | 2018-03-30 | 2018-11-13 | 阿里巴巴集团控股有限公司 | Change the method and application apparatus of daily record printing grade |
| CN110874309B (en) * | 2018-08-31 | 2023-06-27 | 阿里巴巴集团控股有限公司 | Log processing method, device and equipment |
Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050028171A1 (en) * | 1999-11-12 | 2005-02-03 | Panagiotis Kougiouris | System and method enabling multiple processes to efficiently log events |
| CN102790686A (en) * | 2011-05-17 | 2012-11-21 | 浙江核新同花顺网络信息股份有限公司 | Log data collecting method and system and log collecting server |
| US20130031613A1 (en) * | 2011-07-26 | 2013-01-31 | Salesforce.Com, Inc. | Secure access to customer log data in a multi-tenant environment |
| CN103412893A (en) * | 2013-07-24 | 2013-11-27 | 广东电子工业研究院有限公司 | A log collection system and its collection method |
| CN103425750A (en) * | 2013-07-23 | 2013-12-04 | 国云科技股份有限公司 | A cross-platform and cross-application log collection system and its collection management method |
Family Cites Families (3)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| CN100357900C (en) * | 2005-01-20 | 2007-12-26 | 上海复旦光华信息科技股份有限公司 | Automatic extraction and analysis for formwork based on heterogenerous logbook |
| CN101635651A (en) * | 2009-08-31 | 2010-01-27 | 杭州华三通信技术有限公司 | Method, system and device for managing network log data |
| CN103516807B (en) * | 2013-10-14 | 2016-09-21 | 中国联合网络通信集团有限公司 | A kind of cloud computing platform server load balancing system and method |
-
2014
- 2014-03-17 CN CN201410098958.9A patent/CN104935444B/en active Active
-
2015
- 2015-03-09 WO PCT/CN2015/073847 patent/WO2015139565A1/en not_active Ceased
Patent Citations (5)
| Publication number | Priority date | Publication date | Assignee | Title |
|---|---|---|---|---|
| US20050028171A1 (en) * | 1999-11-12 | 2005-02-03 | Panagiotis Kougiouris | System and method enabling multiple processes to efficiently log events |
| CN102790686A (en) * | 2011-05-17 | 2012-11-21 | 浙江核新同花顺网络信息股份有限公司 | Log data collecting method and system and log collecting server |
| US20130031613A1 (en) * | 2011-07-26 | 2013-01-31 | Salesforce.Com, Inc. | Secure access to customer log data in a multi-tenant environment |
| CN103425750A (en) * | 2013-07-23 | 2013-12-04 | 国云科技股份有限公司 | A cross-platform and cross-application log collection system and its collection management method |
| CN103412893A (en) * | 2013-07-24 | 2013-11-27 | 广东电子工业研究院有限公司 | A log collection system and its collection method |
Also Published As
| Publication number | Publication date |
|---|---|
| CN104935444A (en) | 2015-09-23 |
| CN104935444B (en) | 2018-09-04 |
Similar Documents
| Publication | Publication Date | Title |
|---|---|---|
| CN110855473B (en) | Monitoring method, device, server and storage medium | |
| US11308092B2 (en) | Stream processing diagnostics | |
| US11277446B2 (en) | Event integration frameworks | |
| CN111046057B (en) | Data processing method, device, computer equipment and medium of server cluster | |
| CN111881011B (en) | Log management method, platform, server and storage medium | |
| US10133622B2 (en) | Enhanced error detection in data synchronization operations | |
| CN110795257A (en) | Method, device and equipment for processing multi-cluster operation records and storage medium | |
| CN107248927A (en) | Generation method, Fault Locating Method and the device of fault location model | |
| US10657099B1 (en) | Systems and methods for transformation and analysis of logfile data | |
| CN102708158B (en) | PostgreSQL (postgres structured query language) cloud storage filing and scheduling system | |
| US8738767B2 (en) | Mainframe management console monitoring | |
| CN103412893A (en) | A log collection system and its collection method | |
| US8738768B2 (en) | Multiple destinations for mainframe event monitoring | |
| CA3119167A1 (en) | Approach for a controllable trade-off between cost and availability of indexed data in a cloud log aggregation solution such as splunk or sumo | |
| US9928055B1 (en) | Validating development software by comparing results from processing historic data sets | |
| CN114218299A (en) | Method, device, equipment and storage medium for monitoring interface response condition | |
| CN104951855B (en) | Apparatus and method for facilitating management of resources | |
| US10476739B1 (en) | System and method for central administration of multiple application environments | |
| US9558092B2 (en) | Runtime-agnostic management of applications | |
| US10083070B2 (en) | Log file reduction according to problem-space network topology | |
| US10331484B2 (en) | Distributed data platform resource allocator | |
| CN104935444B (en) | Isomery log system management configuration device and method | |
| US20200233870A1 (en) | Systems and methods for linking metric data to resources | |
| CN104539449A (en) | A fault information processing method and related device | |
| CN102377580B (en) | The method for uploading of performance data and equipment |
Legal Events
| Date | Code | Title | Description |
|---|---|---|---|
| 121 | Ep: the epo has been informed by wipo that ep was designated in this application |
Ref document number: 15764326 Country of ref document: EP Kind code of ref document: A1 |
|
| NENP | Non-entry into the national phase |
Ref country code: DE |
|
| 122 | Ep: pct application non-entry in european phase |
Ref document number: 15764326 Country of ref document: EP Kind code of ref document: A1 |

