added some metric stuff; pruning some data from events;
template/mappings for elasticsearch indexes