lib/logstash/codecs/google_appengine.rb in logstash-codec-google_appengine-1.11.0 vs lib/logstash/codecs/google_appengine.rb in logstash-codec-google_appengine-1.12.0

- old
+ new

@@ -46,15 +46,15 @@ if lines payload.delete 'line' lines.map.with_index { |line, i| merged = payload.merge line - merged['id'] = @md5.hexdigest merged['requestId'] + i.to_s + merged['_id'] = @md5.hexdigest merged['requestId'] + i.to_s merged['message'] = merged.delete 'logMessage' merged } else - payload['id'] = @md5.hexdigest payload['requestId'] + payload['_id'] = @md5.hexdigest payload['requestId'] payload['time'] = payload['endTime'] [payload] end end