The invention provides a log
anomaly detection method and
system based on
deep learning, and relates to the technical field of log analysis and operation and maintenance monitoring, and the method comprises the steps of log access and preprocessing, connectable testing, data screening and analysis debugging; carrying out log mode recognition and
anomaly detection, adopting a dynamic
algorithm aggregation mode, eliminating
noise and grading anomalies; aggregating alarms and faults, generating alarms, and analyzing cross-
service line faults; intelligent analysis: constructing a
knowledge base, generating an intelligent report and optimizing the intelligent report; and fault overview and disposal, operation and maintenance
data display, and full-life-cycle operation support. According to the invention, by fusing the dynamic similarity aggregation and the mode stability
screening algorithm, the log mode recognition accuracy is improved, the false report and the missing report are reduced, and the
anomaly detection efficiency is improved; and meanwhile, an exclusive
knowledge base and a business
adaptation retrieval algorithm are constructed, intelligent
fault analysis is realized in combination with a large
language model, the
troubleshooting and repairing period is shortened, a closed-
loop optimization mechanism is formed, and the operation and maintenance efficiency is improved.