Note that due to security reasons scanning the console log using a Groovy script is not allowed.