Filter messages that contains some specific text

It depends on how they are indexed. If there is a "message" field indexed as text for example, you should be able to simply do message: "Health check took" in the KQL bar.