lib/fluent/plugin/out_grepcounter.rb in fluent-plugin-grepcounter-0.5.0 vs lib/fluent/plugin/out_grepcounter.rb in fluent-plugin-grepcounter-0.5.1
- old
+ new
@@ -229,11 +229,10 @@
output = {}
output['count'] = count
if @input_key
output['message'] = @delimiter ? matches.join(@delimiter) : matches
else
- # I will think of good format later...
- output['message'] = @delimiter ? matches.map{|hash| hash.to_hash}.join(@delimiter) : matches
+ # no 'message' field in the case of regexpN and excludeN
end
if tag
output['input_tag'] = tag
output['input_tag_last'] = tag.split('.').last
end