Send email notifications when specific string has been found in the logs

Hello All,

I would like to send email notification when there is specific token has been found in logs, is this possible?

also is there any way to continuously poll shares to know its availability. we don not want to use third party plugins preferably. TIA.