lib/fluent/plugin/out_elasticsearch.rb in fluent-plugin-es-mohit-1.9.11 vs lib/fluent/plugin/out_elasticsearch.rb in fluent-plugin-es-mohit-1.9.12
- old
+ new
@@ -340,10 +340,9 @@
append_record_to_messages(@write_operation, meta, header, record, bulk_message)
end
send_bulk(bulk_message) unless bulk_message.empty?
- puts bulk_message
bulk_message.clear
end
# returns [parent, child_key] of child described by path array in record's tree
# returns [nil, child_key] if path doesnt exist in record