CN104731910A - SYSLOG storage method - Google Patents

SYSLOG storage method Download PDF

Info

Publication number
CN104731910A
CN104731910A CN201510129489.7A CN201510129489A CN104731910A CN 104731910 A CN104731910 A CN 104731910A CN 201510129489 A CN201510129489 A CN 201510129489A CN 104731910 A CN104731910 A CN 104731910A
Authority
CN
China
Prior art keywords
log
syslog
daily record
storing
software
Prior art date
Application number
CN201510129489.7A
Other languages
Chinese (zh)
Inventor
刘鹏
孙海峰
王传超
Original Assignee
浪潮集团有限公司
Priority date (The priority date 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 date listed.)
Filing date
Publication date
Application filed by 浪潮集团有限公司 filed Critical 浪潮集团有限公司
Priority to CN201510129489.7A priority Critical patent/CN104731910A/en
Publication of CN104731910A publication Critical patent/CN104731910A/en

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/17Details of further file system functions
    • G06F16/1734Details of monitoring file system events, e.g. by the use of hooks, filter drivers, logs

Abstract

The invention discloses a SYSLOG storage method. The method comprises the steps that according to the setting of an application program, a call of the application program is received, standard log information is generated for logs, the logs are transmitted to a remote log server, and therefore log files are stored remotely. Compared with the prior art, the SYSLOG storage method solves the log analysis problem, the logs are processed in a centralized mode, log unification processing of all data centers is achieved, and the operation and maintenance efficiency of operation and maintenance workers is effectively improved.

Description

A kind of SYSLOG log storing method

Technical field

The present invention relates to microcomputer data processing field, specifically a kind of SYSLOG log storing method.

Background technology

The growth rapidly of current data volume, the quantity that result in server increases, thus huge pressure is caused to the O&M development and maintenance personnel of server, particularly for the analyzing and processing of error message, maintenance work personnel need a large amount of data analysis process to dispersion, workload is very large, causes the labour intensity of maintenance work personnel very large.The growth rapidly of data, have impact on the O&M efficiency of maintenance work personnel and the process accuracy of error message greatly; Server distribution is in all parts of the country and enormous amount, and analyzing daily record problem is the very important problem faced at present.

Summary of the invention

Technical assignment of the present invention is to provide a kind of SYSLOG log storing method.

Technical assignment of the present invention realizes in the following manner, the method is the setting according to application program, receives the calling of application program, and daily record is generated the log information of standard, log transmission on long-range log server, thus remote storage journal file.

With rsyslog software log transmission on long-range log server.

Described rsyslog software application tcp protocol transmission daily record.

The step of this log storing method is as follows:

Step 1: install LAMP software, disposes LAMP platform;

Step 2: by LAMP platform initialization;

Step 3: then install SYSlog and logzilla assembly, daily record is represented by the mode of web;

Step 4: open any browser, installation and deployment web-php assembly;

Step 5: configuration deployment client, by the tcp protocol transmission daily record of rsyslog software, server carries out transmitting-receiving storing daily record.

Compared to the prior art a kind of SYSLOG log storing method of the present invention, solves log analysis problem, by daily record centralization process, realizes the unitized process of daily record of whole data centers, the effective O&M efficiency promoting maintenance work personnel.

Accompanying drawing explanation

Accompanying drawing 1 is a kind of schematic process flow diagram of SYSLOG log storing method.

Embodiment

Embodiment 1:

The method is the setting according to application program, receives the calling of application program, and daily record is generated the log information of standard, by rsyslog software tcp agreement log transmission on long-range log server, thus remote storage journal file.

The step of this log storing method is as follows:

Step 1: install LAMP software, disposes LAMP platform;

Step 2: by LAMP platform initialization;

Step 3: then install SYSlog and logzilla assembly, daily record is represented by the mode of web;

Step 4: open any browser, installation and deployment web-php assembly;

Step 5: configuration deployment client, by the tcp protocol transmission daily record of rsyslog software, server carries out transmitting-receiving storing daily record.

Embodiment 2:

The step of this log storing method is as follows:

Step 1: install LAMP software, disposes LAMP platform;

Step 2: by LAMP platform initialization; Initialized method is as follows:

yum -y install libnet

cpan Text::LevenshteinXS

cpan -i Digest::SHA1

cpan -i Net::MySQL

Step 3: then install SYSlog and logzilla assembly, daily record is represented by the mode of web;

Step 4: open any browser, installation and deployment web-php assembly;

Step 5: configuration deployment client, by the tcp protocol transmission daily record of rsyslog software, server carries out transmitting-receiving storing daily record.

Explanation of nouns:

The extension name of Log and a kind of file.

Syslog and syslog protocol, be the standard at an IP network repeating system log message, Syslog records any event in system, and supvr can by checking that system log (SYSLOG) grasps system status at any time.System journal, also can records application program running event by the pertinent events of Syslog process register system.By suitable configuration, the communication run between the machine of Syslog agreement can also be realized.By analyzing these network behavior daily records, the traceable situation relevant with equipment and network with grasp.

Syslog-ng is the alternative instrument of syslog, can substitute the service of syslog completely, and by definition rule, realizes better filtering function.

Rsyslog is a free software, the syslogd of the lincesed enhancing of GPL.Wherein, the support of MySQL and complete configurable output format is it provided.The target of rsyslog project is to provide a more reliable system journal finger daemon and configuration.

TCP is the abbreviation of English Transmission Control Protocol, translates into Chinese for transmission control protocol, be a kind of connection-oriented, reliable, based on the transport layer communication protocol of byte stream.

Logzilla is a software of freely increasing income, have controllability, coherent interface and management multi-site simplified way.

Php Chinese in web-php is by name, and " HyperText Preprocessor is a kind of general script of increasing income.

SNMP and Simple Network Management Protocol, the standard managed by a group network forms, and comprises an application layer protocol (application layer protocol), database model (database schema) and one group of resource object.Whether this agreement can network enabled management system, have anyly cause the upper situation about paying close attention to of management in order to the monitoring equipment be connected on network.

LAMP is the english abbreviation of Linux+Apache+Mysql/MariaDB+Perl/PHP/Python, it is one group of open source software being commonly used to build dynamic website or server, it itself is all respective independently program, but because be often brought together use, have more and more higher compatibility, jointly constitute a powerful web application platform.

By embodiment above, described those skilled in the art can be easy to realize the present invention.But should be appreciated that the present invention is not limited to above-mentioned several embodiments.On the basis of disclosed embodiment, described those skilled in the art can the different technical characteristic of combination in any, thus realizes different technical schemes.

Claims (4)

1. a SYSLOG log storing method, is characterized in that, the method is the setting according to application program, receive the calling of application program, and daily record is generated the log information of standard, log transmission on long-range log server, thus remote storage journal file.
2. a kind of SYSLOG log storing method according to claim 1, is characterized in that, with rsyslog software log transmission on long-range log server.
3. a kind of SYSLOG log storing method according to claim 2, is characterized in that, described rsyslog software application tcp protocol transmission daily record.
4. a kind of SYSLOG log storing method according to claim 1, it is characterized in that, the step of this log storing method is as follows:
Step 1: install LAMP software, disposes LAMP platform;
Step 2: by LAMP platform initialization;
Step 3: then install SYSlog and logzilla assembly, daily record is represented by the mode of web;
Step 4: open any browser, installation and deployment web-php assembly;
Step 5: configuration deployment client, by the tcp protocol transmission daily record of rsyslog software, server carries out transmitting-receiving storing daily record.
CN201510129489.7A 2015-03-24 2015-03-24 SYSLOG storage method CN104731910A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510129489.7A CN104731910A (en) 2015-03-24 2015-03-24 SYSLOG storage method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510129489.7A CN104731910A (en) 2015-03-24 2015-03-24 SYSLOG storage method

Publications (1)

Publication Number Publication Date
CN104731910A true CN104731910A (en) 2015-06-24

Family

ID=53455797

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510129489.7A CN104731910A (en) 2015-03-24 2015-03-24 SYSLOG storage method

Country Status (1)

Country Link
CN (1) CN104731910A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868030A (en) * 2015-12-22 2016-08-17 乐视移动智能信息技术(北京)有限公司 Log data communication processing apparatus and method as well as mobile terminal
CN106656619A (en) * 2016-12-30 2017-05-10 郑州云海信息技术有限公司 Linux log management system and method
CN107506149A (en) * 2017-08-29 2017-12-22 郑州云海信息技术有限公司 System management memory journal dump method and device

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060288003A1 (en) * 2005-05-25 2006-12-21 Neeshant Desai Pattern matching algorithm to determine valid syslog messages
CN101087210A (en) * 2007-05-22 2007-12-12 网御神州科技(北京)有限公司 High-performance Syslog processing and storage method
CN103001806A (en) * 2012-12-18 2013-03-27 北京华胜天成科技股份有限公司 Distributed operation and maintenance monitoring system used for information technology (IT) system
CN103840953A (en) * 2012-11-21 2014-06-04 中兴通讯股份有限公司 Remote log real-time acquisition method and system

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20060288003A1 (en) * 2005-05-25 2006-12-21 Neeshant Desai Pattern matching algorithm to determine valid syslog messages
CN101087210A (en) * 2007-05-22 2007-12-12 网御神州科技(北京)有限公司 High-performance Syslog processing and storage method
CN103840953A (en) * 2012-11-21 2014-06-04 中兴通讯股份有限公司 Remote log real-time acquisition method and system
CN103001806A (en) * 2012-12-18 2013-03-27 北京华胜天成科技股份有限公司 Distributed operation and maintenance monitoring system used for information technology (IT) system

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105868030A (en) * 2015-12-22 2016-08-17 乐视移动智能信息技术(北京)有限公司 Log data communication processing apparatus and method as well as mobile terminal
CN106656619A (en) * 2016-12-30 2017-05-10 郑州云海信息技术有限公司 Linux log management system and method
CN107506149A (en) * 2017-08-29 2017-12-22 郑州云海信息技术有限公司 System management memory journal dump method and device

Similar Documents

Publication Publication Date Title
KR102089284B1 (en) Cloud verification and test automation
EP2924572A2 (en) Cloud-level analytics for boiler networks
ES2296403T3 (en) System and procedure for analyzing registration files of a web server.
US7315903B1 (en) Self-configuring server and server network
US7421621B1 (en) Application integration testing
JP4076974B2 (en) Automatic characterization of network traffic
CN100397395C (en) System and method for automated data storage management
EP2487860A1 (en) Method and system for improving security threats detection in communication networks
CN104022904B (en) Distributed computer room information technoloy equipment management platform
CN102739802A (en) Service application-oriented IT contralized operation and maintenance analyzing system
US8626908B2 (en) Distributed capture and aggregation of dynamic application usage information
CN101316185B (en) Method for positioning system resource bottleneck by analysis result based on log file
CN101237326B (en) Method, device and system for real time parsing of device log
CN101902484B (en) Method and system for classifying local area network http application services
CN103995777A (en) Automatic embedded software block box testing system and method
CN104050281A (en) Webpage information extraction method and device based on http protocol
GB2526186A (en) Method and system for testing cloud based applications in a production environment using fabricated user data
CN103905253A (en) Server monitoring and management method based on Nagios and BMC
US10169723B2 (en) Distributed policy distribution for compliance functionality
US10268750B2 (en) Log event summarization for distributed server system
CN102918534A (en) Query pipeline
CN104954189A (en) Automatic server cluster detecting method and system
CN107689953B (en) Multi-tenant cloud computing-oriented container security monitoring method and system
US20160328742A1 (en) Systems and methods for monitoring malicious software engaging in online advertising fraud or other form of deceit
US8799923B2 (en) Determining relationship data associated with application programs

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
WD01 Invention patent application deemed withdrawn after publication
WD01 Invention patent application deemed withdrawn after publication

Application publication date: 20150624