摘要 |
A failure detecting apparatus includes: a processor that executes a process includes: identifying, when a new message is output from a target to be monitored, a message to be replaced, which is output from the target to be monitored before the output of the new message and is not output from the target to be monitored after the output of the new message; extracting a pattern including the message to be replaced, from patterns of messages stored in a storage unit, the patterns indicating occurrences of failures, and registering, in the storage unit, a pattern resulting from substitution of the message to be replaced included in the extracted pattern with the new message; and detecting whether or not messages output from the target to be monitored include any of the patterns stored in the storage unit. |