Log real-time collecting and processing method and device

The invention relates to the technical field of log acquisition, in particular to a log real-time collecting and processing method and device, and the method comprises the steps: accessing a log framework through an abstraction layer realized by a log; the output source of the log component is inher...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: HAN XIRUI, JIANG LINXUE, FENG JINYANG, DIAO ZHIWEI
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention relates to the technical field of log acquisition, in particular to a log real-time collecting and processing method and device, and the method comprises the steps: accessing a log framework through an abstraction layer realized by a log; the output source of the log component is inherited to acquire specified log data in real time; sorting the log data, and pushing the sorted log data to a cache queue; and when a set condition is met, sending the log data in the cache queue to a search engine for storage, and providing a downloading interface. According to the technical scheme, extra services do not need to be deployed independently, server resource occupation is reduced, and maintenance is convenient. According to the technical scheme, the output source of the log component is inherited to obtain the specified log data, the log data is consistent with a mainstream log recording mode during use, and extra learning cost is not needed. Log data are acquired in real time and downloaded in real tim