Method and system for monitoring log

The invention discloses a method and a system for monitoring a log, wherein the method comprises the following steps: acquiring a log of an appointed subject generated at present in real time; sorting the acquired log based on a sorting model corresponding to the appointed subject by adopting an unsupervised sorting algorithm; and displaying the log and the category to which the log belongs in a monitoring interface. Through the application of the scheme provided by the embodiment of the invention, the real-time sorting monitoring of the log is realized, and the efficiency of log management is improved.