Patent attributes
A network log time alignment method and an apparatus are provided. The method includes: obtaining log data stored in multiple network devices; parsing the log data to obtain features of each network device; determining associated features of the multiple network devices according to the features of each network device, where the associated features are features that are of the network devices and that have an association in space; and then, performing alignment on log time in multiple pieces of log data according to the associated features. Therefore, associated features of related devices of a network fault can be found, and log time are automatically aligned according to the associated features, thereby improving the efficiency and the accuracy of the fault location and sectionalization.