Sha256: d07f650a731d367914a8aecd649520feff06778a88ccbcc2d3898681c2eea3f5
Contents?: true
Size: 557 Bytes
Versions: 15
Compression:
Stored size: 557 Bytes
Contents
require 'fluent/plugin/out_mongo' module Fluent class MongoOutputTagCollection < MongoOutput Fluent::Plugin.register_output('mongo_tag_collection', self) config_param :collection, :string, :default => 'untagged' def configure(conf) super @tag_mapped = true if remove_prefix_collection = conf['remove_prefix_collection'] @remove_tag_prefix = Regexp.new('^' + Regexp.escape(remove_prefix_collection)) end $log.warn "'mongo_tag_collection' deprecated. Please use 'mongo' type with 'tag_mapped' parameter" end end end
Version data entries
15 entries across 15 versions & 1 rubygems