The invention discloses an IaaS (Infrastructure as a Service) cloud platform network fault positioning method and
system based on log analysis. The IaaS cloud platform network fault
positioning system comprises a
fault injection module, a log acquisition and analysis module, a
knowledge generation module and a fault detection and positioning module. Firstly, by injecting various typical network faults, various corresponding fault logs are formed; then aiming at various faults, log information related to network faults of each layer of physical resources, an operation
system, a
virtual machine, an OpenStack and the like is respectively acquired, and fault
feature mining is carried out on the acquired network fault log information by using an
Apriori algorithm; on such basis, according to a maximal frequent item set and parameters, such as a supporting degree, a confidence degree and the like, association rules and knowledge, which correspond to the specific network faults, are generated by utilizing a bayes formula; and finally, when a
system has a network fault again, the network fault can be compared with the association rules of a
knowledge base and analyzed according to an acquired fault log, so that the layer on which the network fault occurs is positioned.