WIP: WebStat: register custom events on es