Handle different event formats and send timestamp in loggly format