Class: Fluent::MongoOutputTagCollection
- Inherits:
-
MongoOutput
- Object
- BufferedOutput
- MongoOutput
- Fluent::MongoOutputTagCollection
- Defined in:
- lib/fluent/plugin/out_mongo_tag_collection.rb
Instance Attribute Summary
Attributes inherited from MongoOutput
Instance Method Summary collapse
Methods inherited from MongoOutput
#emit, #format, format_nocache, #initialize, #shutdown, #start, #write
Methods included from MongoUtil
Constructor Details
This class inherits a constructor from Fluent::MongoOutput
Instance Method Details
#configure(conf) ⇒ Object
11 12 13 14 15 16 17 18 19 20 |
# File 'lib/fluent/plugin/out_mongo_tag_collection.rb', line 11 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 |