CN104965932A - Method for performing real-time pushing on logs in log centralization management platform - Google Patents

Method for performing real-time pushing on logs in log centralization management platform Download PDF

Info

Publication number
CN104965932A
CN104965932A CN201510458973.4A CN201510458973A CN104965932A CN 104965932 A CN104965932 A CN 104965932A CN 201510458973 A CN201510458973 A CN 201510458973A CN 104965932 A CN104965932 A CN 104965932A
Authority
CN
China
Prior art keywords
daily record
page
management platform
browser
log
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.)
Pending
Application number
CN201510458973.4A
Other languages
Chinese (zh)
Inventor
周连毅
李文君
张明
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shandong Yi Xun Network Technology Co Ltd
Original Assignee
Shandong Yi Xun Network Technology Co Ltd
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 Shandong Yi Xun Network Technology Co Ltd filed Critical Shandong Yi Xun Network Technology Co Ltd
Priority to CN201510458973.4A priority Critical patent/CN104965932A/en
Publication of CN104965932A publication Critical patent/CN104965932A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F16/00Information retrieval; Database structures therefor; File system structures therefor
    • G06F16/10File systems; File servers
    • G06F16/18File system types
    • G06F16/1805Append-only file systems, e.g. using logs or journals to store data
    • G06F16/1815Journaling file systems

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Data Mining & Analysis (AREA)
  • Databases & Information Systems (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for performing real-time pushing on logs in a log centralization management platform. The method comprises the steps that a page is monitored to inquire multiple logs which are in accordance with the conditions to a back end of the log concentration management platform, and the logs are written into a log monitor area of a browser; the page is monitored to establish a websocket link with the back end of the log concentration management platform in real time, and a monitored parameter is sent to the log concentration management platform in real time; the log concentration management platform sets a timed task according to the parameter, and new log content is pushed to a page on the browser through the websocket; the log content is written on the uppermost portion of a log display area by the page on the browser; when the page of the browser is closed, the websocket is destroyed automatically. According to the method, the problem that the log centralization management platform is lack of the capacity of pushing the logs to the browser of a user in real time is solved, and the user can monitor the changes of the logs in real time.

Description

A kind of method of daily record being carried out to real time propelling movement in daily record centralized management platform
Technical field
The present invention relates to computer application field, particularly relate to a kind of method of daily record being carried out to real time propelling movement.
Background technology
In order to better monitor and analyze daily record, there is now more daily record centralized management platform, as the Logstash+ElasticSearch+Kibana4 in LAN (Local Area Network), flume, Splunk, Yunzhi etc.These platforms are all by B/S form, directly can be inquired about being dispersed in different local daily record by browser.But the real-time of this series products when analyzing daily record is not strong, only when user triggers log query operation by hand, just daily record can be showed user, use in the scene that some real-times are stronger like this and inconvenience, daily record centralized management platform lacks the ability of daily record real time propelling movement to user browser.
Summary of the invention
For solving the problems of the technologies described above, the invention provides a kind of method of daily record being carried out to real time propelling movement in daily record centralized management platform, log content directly can be showed user without the need to user operation by it.
To achieve these goals, the present invention adopts following technical scheme.
Daily record is carried out to a method for real time propelling movement in daily record centralized management platform, by daily record real time propelling movement to user browser, can comprise the steps:
(1) when user needs to monitor daily record in real time, open after monitoring the page in real time, this page can manage the rear end (server of platform concentratedly to daily record, the main body of daily record centralized management platform) inquire about eligible (as daily record from main frame, type belonging to daily record, the keyword that comprises in daily record), nearest some daily records, then qualified daily record is written to the daily record guarded region of browser.
(2) monitor rear end that the page (i.e. the front end of daily record centralized management platform) and daily record manage platform in real time to set up websocket and link, and by the parameter monitored (as daily record from main frame, type belonging to daily record, the keyword that comprises in daily record) send to daily record centralized management platform.
(3) daily record centralized management platform sets up timed task according to parameter.The time inquiry system that this timed task can be specified every system has does not have new daily record to produce.
(4) if there is new daily record to produce, new log content is pushed to the page (front end of daily record centralized management platform) on browser by websocket.
(5) log content, when listening to new daily record and producing, is write the top of daily record display area by the page on browser with js.
(6) when user closes browser page, websocket auto-destruct.
The invention has the beneficial effects as follows, solve daily record centralized management platform and lack the ability of daily record real time propelling movement to user browser, user can monitor the change of daily record in real time.
Certainly, arbitrary product of the present invention is implemented or method might not need to reach above-described all advantages simultaneously.
Accompanying drawing explanation
Fig. 1 is the daily record bandwagon effect figure that the present embodiment meets querying condition.
Fig. 2 is qualified daily record that the present embodiment is new bandwagon effect figure when producing.
Embodiment
Be clearly and completely described technical scheme of the present invention below in conjunction with accompanying drawing, obviously, described embodiment is the present invention's part embodiment, instead of whole embodiments.Based on the embodiment in the present invention, those of ordinary skill in the art, not making the every other embodiment obtained under creative work prerequisite, belong to the scope of protection of the invention.
Daily record is carried out to a method for real time propelling movement in daily record centralized management platform, its step is as follows:
(1) when user needs to monitor daily record in real time, open after monitoring the page in real time, this page can manage qualified, nearest some the daily records of rear end inquiry of platform concentratedly to daily record, then qualified daily record is written to the daily record guarded region of browser.As shown in Figure 1, after user's open any browser, show the daily record meeting querying condition.
(2) rear end that platform is managed in the in real time monitoring page and daily record concentratedly is set up websocket and is linked, and the parameter of monitoring is sent to daily record centralized management platform.
(3) daily record centralized management platform sets up timed task according to parameter.The time inquiry system that this timed task can be specified every system has does not have new daily record to produce.
(4) if there is new daily record to produce, new log content is pushed to the page on browser by websocket.
(5) log content, when listening to new daily record and producing, is write the top of daily record display area by the page on browser with js.As shown in Figure 2, when there being new qualified daily record to produce, without the need to user operation, the daily record made new advances is shown at interface automatically at journal displaying overlying regions, and daily record before slips down to below and shows.
(6) when user closes browser page, websocket auto-destruct.
By reference to the accompanying drawings the specific embodiment of the present invention is described although above-mentioned; but not limiting the scope of the invention; one of ordinary skill in the art should be understood that; on the basis of technical scheme of the present invention, those skilled in the art do not need to pay various amendment or distortion that creative work can make still within protection scope of the present invention.

Claims (1)

1. daily record is carried out to a method for real time propelling movement in daily record centralized management platform, it is characterized in that, comprise the steps:
(1) when user needs to monitor daily record in real time, open after monitoring the page in real time, this page can manage qualified, nearest some the daily records of rear end inquiry of platform concentratedly to daily record, then qualified daily record is written to the daily record guarded region of browser;
(2) rear end that platform is managed in the in real time monitoring page and daily record concentratedly is set up websocket and is linked, and the parameter of monitoring is sent to daily record centralized management platform;
(3) daily record centralized management platform sets up timed task according to parameter, and the time inquiry system that this timed task can be specified every system has does not have new daily record to produce;
(4) if there is new daily record to produce, new log content is pushed to the page on browser by websocket;
(5) log content, when listening to new daily record and producing, is write the top of daily record display area by the page on browser with js;
(6) when user closes browser page, websocket auto-destruct.
CN201510458973.4A 2015-07-31 2015-07-31 Method for performing real-time pushing on logs in log centralization management platform Pending CN104965932A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510458973.4A CN104965932A (en) 2015-07-31 2015-07-31 Method for performing real-time pushing on logs in log centralization management platform

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510458973.4A CN104965932A (en) 2015-07-31 2015-07-31 Method for performing real-time pushing on logs in log centralization management platform

Publications (1)

Publication Number Publication Date
CN104965932A true CN104965932A (en) 2015-10-07

Family

ID=54219971

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510458973.4A Pending CN104965932A (en) 2015-07-31 2015-07-31 Method for performing real-time pushing on logs in log centralization management platform

Country Status (1)

Country Link
CN (1) CN104965932A (en)

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106855888A (en) * 2016-12-29 2017-06-16 北京车智赢科技有限公司 Daily record monitoring system based on Logstash distributed systems
CN107291615A (en) * 2017-05-19 2017-10-24 北京北信源软件股份有限公司 A kind of WEB front-end log-output method and device
CN110784519A (en) * 2019-09-27 2020-02-11 深圳点猫科技有限公司 Method and device for displaying back-end program log on front-end page
CN116150237A (en) * 2022-11-02 2023-05-23 北京睿芯高通量科技有限公司 Population thermodynamic dynamic display method in novel intelligent security system

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119392A (en) * 2007-08-21 2008-02-06 南京联创科技股份有限公司 SOCKET united access method
CN102902752A (en) * 2012-09-20 2013-01-30 新浪网技术(中国)有限公司 Method and system for monitoring log
CN104144081A (en) * 2014-08-26 2014-11-12 福建天晴数码有限公司 General application log management method, device and system

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101119392A (en) * 2007-08-21 2008-02-06 南京联创科技股份有限公司 SOCKET united access method
CN102902752A (en) * 2012-09-20 2013-01-30 新浪网技术(中国)有限公司 Method and system for monitoring log
CN104144081A (en) * 2014-08-26 2014-11-12 福建天晴数码有限公司 General application log management method, device and system

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
刘日佳: "基于NodeJS 的实时推送系统的设计与实现", 《万方》 *

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106855888A (en) * 2016-12-29 2017-06-16 北京车智赢科技有限公司 Daily record monitoring system based on Logstash distributed systems
CN106855888B (en) * 2016-12-29 2020-12-22 北京车智赢科技有限公司 Log monitoring system based on Logstash distributed system
CN107291615A (en) * 2017-05-19 2017-10-24 北京北信源软件股份有限公司 A kind of WEB front-end log-output method and device
CN110784519A (en) * 2019-09-27 2020-02-11 深圳点猫科技有限公司 Method and device for displaying back-end program log on front-end page
CN116150237A (en) * 2022-11-02 2023-05-23 北京睿芯高通量科技有限公司 Population thermodynamic dynamic display method in novel intelligent security system
CN116150237B (en) * 2022-11-02 2024-02-06 北京中科通量科技有限公司 Population thermodynamic dynamic display method in novel intelligent security system

Similar Documents

Publication Publication Date Title
CN105847020B (en) Message pushing method and device
CN104965932A (en) Method for performing real-time pushing on logs in log centralization management platform
WO2018217690A3 (en) Systems and methods for providing diagnostics for a supply chain
US9319372B2 (en) Social feed trend visualization
CN106331695B (en) One kind is based on video/audio detection and data analysis system
CN106156350A (en) The big data analysing method of a kind of visualization and system
US10706062B2 (en) Method and system for exchanging data from a big data source to a big data target corresponding to components of the big data source
US20160012150A1 (en) System and method for main distribution network graph/model/data integration based on remote access and information interaction
CN105740376A (en) API (Application Program Interface) calling statistics and monitoring method in micro-service
CN108268529A (en) It is a kind of that the data summarization method and system dispatched with multi engine are abstracted based on business
CN104346480A (en) Information mining method and device
WO2017016084A1 (en) Alarm information notification method and apparatus, and alarm information filtering device
CN106126395A (en) A kind of cloud platform monitoring method and system
CN102385607B (en) Internet sharing application programming interface (API) port aggregation and monitoring technology
CN202841168U (en) Network resource monitoring system
CN108874818A (en) A kind of data intelligence visualization system and method
Khan et al. Impact of big data over telecom industry
CN204145546U (en) A kind of interactive intelligent inquiry service terminal platform
CN105631012A (en) Intelligent new-media big-data analysis system
CN103716471B (en) A kind of user being applicable to rubbish voice filtering calls out the generation method of behavior model
CN105208002A (en) Phishing website interception method
CN105630605A (en) Method for dynamically adjusting data service clusters on basis of data service access condition
CN104376027A (en) Information acquisition and analysis system and method thereof on basis of socialized media
CN105681155A (en) User information processing method and apparatus in instant messaging
CN110445659B (en) Method for realizing simple switching between local and cloud

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication

Application publication date: 20151007

RJ01 Rejection of invention patent application after publication