Log processing method and system
The invention relates to a log processing method which includes that a script language interpreter is built, a log formatting processing function is directly packaged in the script language interpreter, corresponding log processing scripts are built respectively aiming at scripts of different format...
Gespeichert in:
Hauptverfasser: | , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention relates to a log processing method which includes that a script language interpreter is built, a log formatting processing function is directly packaged in the script language interpreter, corresponding log processing scripts are built respectively aiming at scripts of different formats to form a dynamic script base, various formatting operations in the log processing scripts are finished through the function, a log with a certain format is loaded, a corresponding log processing script is loaded from the dynamic script base according to the format of the log, and the script language interpreter interprets and executes the loaded log processing script to finish the log formatting operation and output a processing result. By means of the log processing method, logs from different services and with different formats can be efficiently processed into specific formats to be output. A log processing system is further provided. |
---|