nDrain: A Robust Log Template Mining Algorithm
Log template mining is an important step in analyzing logs. Drain is an important log template mining algorithm that performs well in handling various types of logs. However, Drain assumes that the first word of log entries belonging to the same log template is the same. However, not all logs meet this condition. Therefore, this paper proposes a robust log template mining algorithm based on the Drain algorithm, which we call nDrain. nDrain uses TFIDF to collect keywords from log templates and classifies log messages based on these keywords. We completed experimental verification using the public logs provided by Loghub. The experiment shows that compared to Drain, the accuracy of nDrain is improved on 5 types of logs.
Authors
- Bin Guan (ORCID: https://orcid.org/0000-0002-6483-1677)
- Chao Wang
- Jinhui Yuan
- Hongwei Zhou (ORCID: https://orcid.org/0000-0002-9290-4087)
Institutions
- Zhongyuan University of Technology (CN)
- PLA Information Engineering University (CN)
Publication Details
- Published
- 2024-12-13
- DOI
- https://doi.org/10.1109/iccc62609.2024.10941951
- Citations
- 1
- Primary Topic
- Data Mining Algorithms and Applications
- Type
- article
- Field-Weighted Citation Impact
- 0.78
Funders
- National Natural Science Foundation of China