The embodiment of the invention discloses a link tracking method and device, and the method is suitable for the application of a micro-service architecture, and can optimize the link exception processing efficiency. The method comprises the following steps of obtaining the global link information and a service identifier, and generating a mapping relation table between the service identifier and each piece of link information in the global link information; obtaining a link query request, obtaining the target link information according to the link query request, and displaying the target link information on a link tracking display page; and obtaining a log switching instruction for the target link information, obtaining a target service identifier corresponding to the target link information from the mapping relation table according to the log switching instruction, obtaining a target log file corresponding to the target service identifier, and switching and displaying the displayed target link information as a target log file. By adopting the embodiment of the invention, the error root of the link exception can be quickly positioned, so that the link exception processing efficiency is improved.