events: update with same changes as tools/event_parser
event_parser: add config2 support