CN109376130A - A method of the self-defined template based on cloudy platform records operation log - Google Patents
A method of the self-defined template based on cloudy platform records operation log Download PDFInfo
- Publication number
- CN109376130A CN109376130A CN201811215432.9A CN201811215432A CN109376130A CN 109376130 A CN109376130 A CN 109376130A CN 201811215432 A CN201811215432 A CN 201811215432A CN 109376130 A CN109376130 A CN 109376130A
- Authority
- CN
- China
- Prior art keywords
- log
- template
- operation log
- cloud platform
- platform
- 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.)
- Withdrawn
Links
Abstract
The present invention relates to cloudy platform application management technical field, the method for especially a kind of self-defined template record operation log based on cloudy platform.Method of the invention is the type and system logging template of defining operation log, and cloud platform customizes logging template and as needed by saving operation log according to template after blocker record operation.The present invention solves the complexity of cloudy platform record operation log, the operation log recording template that cloudy platform can not uniformly be arranged, causes the problems such as waste of human resource.Log recording template of the present invention can not only be unified to configure, but also can allow each cloud platform personal settings, further improve flexibility, scalability and the customizable degree of cloudy platform record User operation log.
Description
Technical field
The present invention relates to cloudy platform application management technical field, especially a kind of self-defined template based on cloudy platform
The method for recording operation log.
Background technique
Since cloud computing is fast-developing for many years, the cloud computing platform of large quantities of maturations is emerged in large numbers, these cloud platforms all need
Operation log is recorded, the cloud platform of different brands, different services respectively correspond to the module of a set of operation log recording, this
Sample there is following hidden danger:
First is that the having differences property of method for the operation log recording that each cloud platform provides, including its access control page,
Api interface is not consistent, can not be managed collectively.
Second is that checking or analyzing log every time, requires operation maintenance personnel and consults the relevant parameter configuration of more log module,
It repeats similar operation and consumes the operation maintenance personnel more working time, reduce the working efficiency of operation maintenance personnel;
Third is that the mode of record log is single, the log that can only record fixed form meets the needs of sole user, limitation
The flexibility and diversity of record operation log.
Summary of the invention
Present invention solves the technical problem that being to provide a kind of self-defined template record operation log based on cloudy platform
Method, the complexity for solving cloudy platform record operation log, the operation log recording template that cloudy platform can not be uniformly set,
The problems such as causing waste of human resource.
The technical solution that the present invention solves above-mentioned technical problem is:
The method is the type and system logging template of defining operation log, and cloud platform customizes record mould as needed
Plate and by blocker record operation after according to template save operation log.
The method specifically comprises the following steps:
Step 1: registering multiple cloud platforms in the cloud registration center of system under the overall leadership;
Step 2: the type and priority of defining operation log;
Step 3: defining the template of system record operation log;
Step 4: each cloud platform is according to self-demand, the template of customization record operation log;
Step 5: user is in page operation related function module;
Step 6: the operation that user carries out being recorded by blocker, such as is logged in, payment, the log of current cloud platform is obtained
Logging template, and operation log is saved according to the design parameter of template and configuration;
The system under the overall leadership, refers to the system of the multiple cloud platform infrastructure of unified management, cloud platform it is various
Function all passes through this system and is operated, and system under the overall leadership contains all feature operations of different cloud platforms;
The multiple cloud platforms of the registration refer to be registered in system under the overall leadership by the address of service of deployment of components and call
The Service Source is a kind of object-oriented service registration mode.
The log that the Log Types generate when including user authentication, the day that when system at regular intervals executive plan task generates
Will, the log that certain finger daemons generate, mail log, the message etc. that Network Time Protocol (ntp) generates;
The log priority includes: alert, needs to repair immediately, including system database damage;Crit is dangerous
Situation, including Hard disk error may hinder the situation of the partial function of program;Err, common fault message;Warning, it is alert
It accuses;Notice is not mistake, but may need to handle;Info, versatility message are generally used to provide useful information.
The template of the described record operation log, refer to user can according to business demand, first the type of setting log and
Priority, then setting saves the attribute of log, comprising: operation user, operating function, operation object, mode of operation, operator
IP, operation time started, operation end time, error code and operating reason are finally arranged log and cut information, comprising: cutting
Log size, the file destination name of cutting, the filename after cutting;
The system record operation log template refers to the log recording template used for all cloud platforms.
Each cloud platform customize itself record operation log template, refer to each cloud platform according to itself
Business individually defines log template, and uses only for itself.
The blocker can be defined on a request and hold for the object of system dynamic interception request call under the overall leadership
The logic that capable front and back executes, the operation including recording cloud platform user.
The design parameter according to template and configuration save operation log, refer to the log being arranged according to current cloud platform
Template saves specific log information, if current cloud platform is not provided with the log template of itself, according to system log mould
Version saves log information.
The present invention both can uniformly be matched by a kind of method that the self-defined template based on cloudy platform records operation log
The output format and content of log are set, and can allow each cloud platform personal settings, further improves cloudy platform record
Flexibility, scalability and the customizable degree of User operation log.
Detailed description of the invention
The following further describes the present invention with reference to the drawings:
Fig. 1 is the method for the present invention flow chart.
Specific embodiment
As shown in figure, basic procedure of the invention is as follows:
1, registration cloud platform code is as follows:
2, the type and priority of defining operation log, code are as follows:
3, the template of definition record operation log, code are as follows:
The available policies conditional parameter and policy execution method of definition strategy type:
4, the operation that blocker record user carries out, code are as follows:
5, the log recording template of current cloud platform is obtained, and saves operation day according to the design parameter of template and configuration
Will, code are as follows:
。
Claims (8)
1. a kind of method of the self-defined template record operation log based on cloudy platform, it is characterised in that: the method is
The type and system logging template of defining operation log, cloud platform customize logging template as needed and are recorded by blocker
Operation log is saved according to template after operation.
2. according to the method described in claim 1, it is characterized by: the method specifically comprises the following steps:
Step 1: registering multiple cloud platforms in the cloud registration center of system under the overall leadership;
Step 2: the type and priority of defining operation log;
Step 3: defining the template of system record operation log;
Step 4: each cloud platform is according to self-demand, the template of customization record operation log;
Step 5: user is in page operation related function module;
Step 6: the operation that user carries out being recorded by blocker, such as is logged in, payment, the log recording of current cloud platform is obtained
Template, and operation log is saved according to the design parameter of template and configuration.
3. according to the method described in claim 2, it is characterized by:
The system under the overall leadership refers to the system of the multiple cloud platform infrastructure of unified management, the various functions of cloud platform
It is all operated by this system, system under the overall leadership contains all feature operations of different cloud platforms;
The multiple cloud platforms of the registration refer to be registered in system under the overall leadership by the address of service of deployment of components and call the clothes
Business resource, is a kind of object-oriented service registration mode.
4. according to the method described in claim 2, it is characterized by:
The log that the Log Types generate when including user authentication, the log that when system at regular intervals executive plan task generates,
The log that certain finger daemons generate, mail log, the message etc. that Network Time Protocol (ntp) generates;
The log priority includes: alert, needs to repair immediately, including system database damage;Crit, dangerous situation,
Including Hard disk error, the situation of the partial function of program may be hindered;Err, common fault message;Warning, warning;
Notice is not mistake, but may need to handle;Info, versatility message are generally used to provide useful information.
5. according to the method described in claim 2, it is characterized by:
The template of the described record operation log refers to that user can be according to business demand, the type of setting log and preferential first
Grade, then setting save log attribute, comprising: operation user, operating function, operation object, mode of operation, operator IP,
Time started, operation end time, error code and operating reason are operated, log is finally set and cuts information, comprising: the day of cutting
Filename after will size, the file destination name of cutting, cutting;
The system record operation log template refers to the log recording template used for all cloud platforms.
6. according to the method described in claim 2, it is characterized by:
Each cloud platform customizes the template of the record operation log of itself, refers to each cloud platform according to itself business
Log template is individually defined, and is used only for itself.
7. according to the method described in claim 2, it is characterized by:
The blocker can be defined on what a request executed for the object of system dynamic interception request call under the overall leadership
The logic that front and back executes, the operation including recording cloud platform user.
8. according to the method described in claim 2, it is characterized by:
The design parameter according to template and configuration save operation log, refer to the log mould being arranged according to current cloud platform
Version, saves specific log information, if current cloud platform is not provided with the log template of itself, according to system log template
Save log information.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811215432.9A CN109376130A (en) | 2018-10-18 | 2018-10-18 | A method of the self-defined template based on cloudy platform records operation log |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201811215432.9A CN109376130A (en) | 2018-10-18 | 2018-10-18 | A method of the self-defined template based on cloudy platform records operation log |
Publications (1)
Publication Number | Publication Date |
---|---|
CN109376130A true CN109376130A (en) | 2019-02-22 |
Family
ID=65400394
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201811215432.9A Withdrawn CN109376130A (en) | 2018-10-18 | 2018-10-18 | A method of the self-defined template based on cloudy platform records operation log |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN109376130A (en) |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110362452A (en) * | 2019-07-18 | 2019-10-22 | 中国银行股份有限公司 | A kind of batch O&M method and system |
CN111897787A (en) * | 2020-06-17 | 2020-11-06 | 航天信息股份有限公司 | Method and device for realizing log output facing service logic |
Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102694693A (en) * | 2012-06-28 | 2012-09-26 | 上海寰创通信科技股份有限公司 | Log recording method of network management system |
CN102929771A (en) * | 2012-09-28 | 2013-02-13 | 用友软件股份有限公司 | Log recording device and log recording method |
CN105739987A (en) * | 2016-02-03 | 2016-07-06 | 成都四方伟业软件股份有限公司 | SOA-oriented rapid JavaWeb application construction system framework |
CN106296400A (en) * | 2016-08-10 | 2017-01-04 | 中国农业银行股份有限公司 | A kind of method and system of log recording |
CN106649061A (en) * | 2015-11-04 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Method and device for recording user's operation log in web system |
CN107491382A (en) * | 2017-07-21 | 2017-12-19 | 北京京东尚科信息技术有限公司 | Log-output method and device |
CN108153532A (en) * | 2017-12-26 | 2018-06-12 | 江苏润和软件股份有限公司 | A kind of cloud application dispositions method based on Web log mining |
CN108200022A (en) * | 2017-12-22 | 2018-06-22 | 新华三云计算技术有限公司 | A kind of cloud platform cut-in method, device and cloudy platform management system |
CN108521407A (en) * | 2018-03-21 | 2018-09-11 | 国云科技股份有限公司 | A kind of secondary safety access control method based on cloudy platform |
-
2018
- 2018-10-18 CN CN201811215432.9A patent/CN109376130A/en not_active Withdrawn
Patent Citations (9)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN102694693A (en) * | 2012-06-28 | 2012-09-26 | 上海寰创通信科技股份有限公司 | Log recording method of network management system |
CN102929771A (en) * | 2012-09-28 | 2013-02-13 | 用友软件股份有限公司 | Log recording device and log recording method |
CN106649061A (en) * | 2015-11-04 | 2017-05-10 | 阿里巴巴集团控股有限公司 | Method and device for recording user's operation log in web system |
CN105739987A (en) * | 2016-02-03 | 2016-07-06 | 成都四方伟业软件股份有限公司 | SOA-oriented rapid JavaWeb application construction system framework |
CN106296400A (en) * | 2016-08-10 | 2017-01-04 | 中国农业银行股份有限公司 | A kind of method and system of log recording |
CN107491382A (en) * | 2017-07-21 | 2017-12-19 | 北京京东尚科信息技术有限公司 | Log-output method and device |
CN108200022A (en) * | 2017-12-22 | 2018-06-22 | 新华三云计算技术有限公司 | A kind of cloud platform cut-in method, device and cloudy platform management system |
CN108153532A (en) * | 2017-12-26 | 2018-06-12 | 江苏润和软件股份有限公司 | A kind of cloud application dispositions method based on Web log mining |
CN108521407A (en) * | 2018-03-21 | 2018-09-11 | 国云科技股份有限公司 | A kind of secondary safety access control method based on cloudy platform |
Non-Patent Citations (1)
Title |
---|
夏文忠: "Log4J 在学生管理系统中的开发与应用", 《电脑编程技巧与维护》 * |
Cited By (2)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
CN110362452A (en) * | 2019-07-18 | 2019-10-22 | 中国银行股份有限公司 | A kind of batch O&M method and system |
CN111897787A (en) * | 2020-06-17 | 2020-11-06 | 航天信息股份有限公司 | Method and device for realizing log output facing service logic |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
WO2021017279A1 (en) | Cluster security management method and apparatus based on kubernetes and network domain, and storage medium | |
CN108141380B (en) | Network-based resource configuration discovery service | |
US10243814B2 (en) | Deep packet inspection virtual function | |
US10154009B2 (en) | Providing a basic firewall using a virtual networking function | |
US10116507B2 (en) | Method of and system for managing computing resources | |
US20190238410A1 (en) | Verifying network intents | |
US11265292B1 (en) | Graph based management of virtualized infrastructures | |
US20160100032A1 (en) | System and method for determining a topology of at least one application in a computerized organization | |
CN104601403A (en) | Automatic test system | |
US20050278342A1 (en) | System and method for auditing a network | |
US8782795B1 (en) | Secure tenant assessment of information technology infrastructure | |
US10009221B2 (en) | System and method for facilitating design configuration and management of data center | |
US20120254337A1 (en) | Mainframe Management Console Monitoring | |
US8738768B2 (en) | Multiple destinations for mainframe event monitoring | |
CN109376130A (en) | A method of the self-defined template based on cloudy platform records operation log | |
WO2020259081A1 (en) | Task scheduling method, apparatus, and device, and computer-readable storage medium | |
CN108390907B (en) | Management monitoring system and method based on Hadoop cluster | |
US8326976B2 (en) | Configuring application management reporting in a communication network | |
CN114138483B (en) | Virtualized resource management method, device, server, system and medium | |
US10554625B2 (en) | Integrated PCS functional competency assessment | |
CN108712306A (en) | A kind of information system automation inspection platform and method for inspecting | |
US11838176B1 (en) | Provisioning and deploying RAN applications in a RAN system | |
KR101376226B1 (en) | Method for total managing open-source systems and total management server thereof | |
WO2023159956A1 (en) | Bare metal server inspection and deployment method and apparatus, and device and medium | |
CN108959659B (en) | Log access analysis method and system for big data platform |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
PB01 | Publication | ||
PB01 | Publication | ||
SE01 | Entry into force of request for substantive examination | ||
SE01 | Entry into force of request for substantive examination | ||
WW01 | Invention patent application withdrawn after publication |
Application publication date: 20190222 |
|
WW01 | Invention patent application withdrawn after publication |