WebStat: register custom events on es