Parsing message attribute to extract the event information