class LogStash::Inputs::BeatsSupport::DecodedEventTransform

def coerce_ts(ts)

def coerce_ts(ts)
  return nil if ts.nil?
  timestamp = LogStash::Timestamp.coerce(ts)
  return timestamp if timestamp
  @logger.warn("Unrecognized @timestamp value, setting current time to @timestamp",
               :value => ts.inspect)
  return nil
rescue LogStash::TimestampParserError => e
  @logger.warn("Error parsing @timestamp string, setting current time to @timestamp",
               :value => ts.inspect, :exception => e.message)
  return nil
end