A Groovy monitor for Ealsticsearch