The invention is suitable for the technical field of
system fault monitoring, and provides a
system fault monitoring method based on log real-
time synchronization and active scanning, and the method comprises the steps: capturing a log increment in real time through a
file system event monitoring trigger, analyzing a newly added log content, and
synchronizing the log increment and the newly added log content to message
middleware; a distributed active scanning unit is configured, the scanning period is dynamically adjusted, and node resources are expanded and shrunk based on the
containerization technology; integrating the abnormal data of the user side, the interface state data of the
server side and the log
stream data, and constructing a multi-
modal data set; a normalized error report increment is calculated based on a 30-minute sliding window, and a pre-
processing instruction is generated in combination with a
random forest algorithm and
Bayesian optimization; executing corresponding operation according to the pre-
processing instruction; according to the method, a traditional passive mode is broken through, the fault monitoring confidence coefficient is remarkably higher than that of an
industry standard, sub-health
perception and active blocking of a high-
concurrency scene are supported, and a real-time and accurate intelligent operation and maintenance solution is provided for a
complex system.