lib/logstash/inputs/mongoprofile.rb in logstash-input-mongoprofile-0.1.12 vs lib/logstash/inputs/mongoprofile.rb in logstash-input-mongoprofile-0.1.13
- old
+ new
@@ -93,10 +93,10 @@
@parser = parser
end
def each
@documents.each do |document|
- document['_id'] = generate_id
+ document['_id'] = generate_id.to_s
yield @parser.parse(document)
end
end
def get_last_document_date
\ No newline at end of file