ONLINE LOG ANALYSIS METHOD, SYSTEM, AND ELECTRONIC TERMINAL DEVICE THEREOF
The present disclosure provides an online log parsing method, system and electronic terminal device thereof. Themethod includes the following steps: S1, performing log preprocessing on each unparsed log to obtain a plurality of unparsed log sequences of different log lengths, and classifying each un...
Gespeichert in:
Hauptverfasser: | , , , , , , , , , , , , |
---|---|
Format: | Patent |
Sprache: | eng ; fre ; ger |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The present disclosure provides an online log parsing method, system and electronic terminal device thereof. Themethod includes the following steps: S1, performing log preprocessing on each unparsed log to obtain a plurality of unparsed log sequences of different log lengths, and classifying each unparsed log sequence into a corresponding first log group; S2, obtaining a log string of each log sequence in the first log group, calculating log string similarities, and performing online clustering based on the log string similarities; and S3, taking the unparsed log as a query item to match templates in template spanning tree of the second log group for common nodes to obtain log templates. The advantages are that the logs are classified according to length, a secondary clustering of logs is performed based on the log string similarity, and log templates are extracted by using template spanning tree. By the method, log templates can be extracted efficiently and accurately from unstructured logs, which is convenient for data analysts to perform more advanced analysis and processing on logs. |
---|