A network log time alignment method, comprising: obtaining to-be-analyzed log data of multiple network devices; parsing the log data of the multiple network devices to obtain features of each network device; determining associated features of the multiple network devices according to the features of each network device; and performing alignment on log time in the log data of the multiple network devices according to the associated features, wherein the performing alignment on log time in the log data of the multiple network devices according to the associated features comprises: obtaining a reference time for log alignment, wherein the reference time is a log time of the associated feature in log data of a reference network device, and the reference network device is a network device determined in the multiple network devices; and for each network device, determining a calibration time deviation of the network device, wherein the calibration time deviation is a difference between a log time of the associated feature of the network device and the reference time, and subtracting the calibration time deviation from a log time in log data of the network device, so that the log time of the network device is aligned with a log time of the reference network device, or wherein the performing alignment on log time in the log data of the multiple network devices according to the associated features comprises: setting a reference time of the associated features, wherein the reference time is a fault report time; and for each network device, determining a calibration time deviation of the network device, wherein the calibration time deviation is a difference between a log time of the associated feature of the network device and the reference time, and subtracting the calibration time deviation from a log time in log data of the network device, so that the log time of the network device is aligned with a log time of another network device. obtaining to-be-analyzed log data of multiple network devices; parsing the log data of the multiple network devices to obtain features of each network device; determining associated features of the multiple network devices according to the features of each network device; and performing alignment on log time in the log data of the multiple network devices according to the associated features, wherein the performing alignment on log time in the log data of the multiple network devices according to the associated features comprises: obtaining a reference time for log alignment, wherein the reference time is a log time of the associated feature in log data of a reference network device, and the reference network device is a network device determined in the multiple network devices; and for each network device, determining a calibration time deviation of the network device, wherein the calibration time deviation is a difference between a log time of the associated feature of the network device and the reference time, and subtracting the calibration time deviation from a log time in log data of the network device, so that the log time of the network device is aligned with a log time of the reference network device, obtaining a reference time for log alignment, wherein the reference time is a log time of the associated feature in log data of a reference network device, and the reference network device is a network device determined in the multiple network devices; and for each network device, determining a calibration time deviation of the network device, wherein the calibration time deviation is a difference between a log time of the associated feature of the network device and the reference time, and subtracting the calibration time deviation from a log time in log data of the network device, so that the log time of the network device is aligned with a log time of the reference network device, or wherein the performing alignment on log time in the log data of the multiple network devices according to the associated features comprises: setting a reference time of the associated features, wherein the reference time is a fault report time; and for each network device, determining a calibration time deviation of the network device, wherein the calibration time deviation is a difference between a log time of the associated feature of the network device and the reference time, and subtracting the calibration time deviation from a log time in log data of the network device, so that the log time of the network device is aligned with a log time of another network device. setting a reference time of the associated features, wherein the reference time is a fault report time; and for each network device, determining a calibration time deviation of the network device, wherein the calibration time deviation is a difference between a log time of the associated feature of the network device and the reference time, and subtracting the calibration time deviation from a log time in log data of the network device, so that the log time of the network device is aligned with a log time of another network device.